chore: Delivery Note Return status

This commit is contained in:
marination
2020-07-31 20:01:06 +05:30
parent 66069df020
commit ba37fe796c
5 changed files with 52 additions and 5 deletions

View File

@@ -58,6 +58,7 @@ status_map = {
"Delivery Note": [
["Draft", None],
["To Bill", "eval:self.per_billed < 100 and self.docstatus == 1"],
["Return Issued", "eval:self.per_returned == 100 and self.docstatus == 1"],
["Completed", "eval:self.per_billed == 100 and self.docstatus == 1"],
["Cancelled", "eval:self.docstatus==2"],
["Closed", "eval:self.status=='Closed'"],