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

This commit is contained in:
Saqib
2021-08-25 16:25:51 +05:30
committed by GitHub
parent a65498dc61
commit 62114b226f
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],