mirror of
https://github.com/frappe/books.git
synced 2025-02-03 20:48:29 +00:00
Added dependency for the cancel feature
This commit is contained in:
parent
95a833c3a4
commit
f411187c38
@ -634,6 +634,7 @@ module.exports = class BaseDocument extends Observable {
|
||||
}
|
||||
|
||||
async submit() {
|
||||
this.cancelled = 0;
|
||||
await this.submitOrRevert(1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user