mirror of
https://github.com/frappe/books.git
synced 2025-01-26 00:28:25 +00:00
Merge pull request #154 from piyushsinghania/master
Added dependency for the cancel feature
This commit is contained in:
commit
da58ae45fa
@ -634,6 +634,7 @@ module.exports = class BaseDocument extends Observable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async submit() {
|
async submit() {
|
||||||
|
this.cancelled = 0;
|
||||||
await this.submitOrRevert(1);
|
await this.submitOrRevert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user