2
0
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:
Piyush Singhania 2021-11-15 18:00:34 +05:30
parent 95a833c3a4
commit f411187c38

View File

@ -634,6 +634,7 @@ module.exports = class BaseDocument extends Observable {
}
async submit() {
this.cancelled = 0;
await this.submitOrRevert(1);
}