commit | c43ac20115fe377164592cbc44c0dd77f0dc2313 | [log] [tgz] |
---|---|---|
author | Neil Trini Lasrado <neil@frappe.io> | Wed Apr 08 13:48:07 2015 +0530 |
committer | Neil Trini Lasrado <neil@frappe.io> | Tue Apr 14 13:00:54 2015 +0530 |
tree | 79ba75a2c9a467d968fd7606248d1483c302f004 | |
parent | d3d94d1efe7b64f33a15a4c0d3d6074966becb32 [diff] |
Fixes in logic for production order scheduling
diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py index c8c3f65..7b70815 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.py +++ b/erpnext/manufacturing/doctype/production_order/production_order.py
@@ -201,7 +201,7 @@ Planned Start Date. Time logs will be created and remain in Draft mode and must be submitted before manufacturing entry can be made.""" - if not self.operations and not self.planned_start_date: + if not (self.operations and self.planned_start_date): return time_logs = []