feat: add on hold status check

This commit is contained in:
Mangesh-Khairnar 2019-03-01 16:23:27 +05:30
parent e17b7095bf
commit 5eb66aed77

View File

@ -41,6 +41,7 @@ status_map = {
["Completed", "eval:self.order_type == 'Maintenance' and self.per_billed == 100 and self.docstatus == 1"],
["Cancelled", "eval:self.docstatus==2"],
["Closed", "eval:self.status=='Closed'"],
["On Hold", "eval:self.status=='On Hold'"],
],
"Sales Invoice": [
["Draft", None],