mirror of
https://github.com/frappe/books.git
synced 2025-02-08 23:18:31 +00:00
fix: validation not running issue
This commit is contained in:
parent
8ba9f7f510
commit
29c1621882
@ -192,9 +192,9 @@ module.exports = class BaseDocument extends Observable {
|
|||||||
return childDoc;
|
return childDoc;
|
||||||
}
|
}
|
||||||
|
|
||||||
validateInsert() {
|
async validateInsert() {
|
||||||
this.validateMandatory();
|
this.validateMandatory();
|
||||||
this.validateFields();
|
await this.validateFields();
|
||||||
}
|
}
|
||||||
|
|
||||||
validateMandatory() {
|
validateMandatory() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user