From 5eb66aed77361612590ccb38ad618d713db9c37e Mon Sep 17 00:00:00 2001 From: Mangesh-Khairnar Date: Fri, 1 Mar 2019 16:23:27 +0530 Subject: [PATCH] feat: add on hold status check --- erpnext/controllers/status_updater.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/controllers/status_updater.py b/erpnext/controllers/status_updater.py index d239255833..5c6a01a1e0 100644 --- a/erpnext/controllers/status_updater.py +++ b/erpnext/controllers/status_updater.py @@ -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],