mirror of
https://github.com/frappe/books.git
synced 2025-01-24 23:58:27 +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() {
|
||||
this.cancelled = 0;
|
||||
await this.submitOrRevert(1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user