mirror of
https://github.com/frappe/books.git
synced 2024-12-25 20:11:15 +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
|
// set submit action flag
|
||||||
|
this.flags = {}
|
||||||
if (this.submitted && !currentDoc.submitted) {
|
if (this.submitted && !currentDoc.submitted) {
|
||||||
this.flags.submitAction = true;
|
this.flags.submitAction = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user