mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Merge pull request #1 from piyushsinghania/fix/reset-flags-on-compareWithCurrentDoc-on-subsequent-calls
Reseting flags in compareWithCurrentDoc on subsequent calls
This commit is contained in:
commit
2a1ec09de9
@ -412,6 +412,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