mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Reseting flags in compareWithCurrentDoc on subsequent calls
This commit is contained in:
parent
9b9edd700c
commit
4218527df8
@ -411,6 +411,7 @@ module.exports = class BaseDocument extends Observable {
|
||||
}
|
||||
|
||||
// set submit action flag
|
||||
this.flags = {}
|
||||
if (this.submitted && !currentDoc.submitted) {
|
||||
this.flags.submitAction = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user