feat: unreconcile on cancellation of bank transaction (#27109) (#27137)

This commit is contained in:
Frappe PR Bot
2021-08-25 16:59:03 +05:30
committed by GitHub
parent 4eb7c2a011
commit 7ac4916191
4 changed files with 36 additions and 13 deletions

View File

@@ -86,7 +86,8 @@ status_map = {
],
"Bank Transaction": [
["Unreconciled", "eval:self.docstatus == 1 and self.unallocated_amount>0"],
["Reconciled", "eval:self.docstatus == 1 and self.unallocated_amount<=0"]
["Reconciled", "eval:self.docstatus == 1 and self.unallocated_amount<=0"],
["Cancelled", "eval:self.docstatus == 2"]
],
"POS Opening Entry": [
["Draft", None],