commit | 18dc151fc781be4bc6bb7fc55df1ce72143c98ee | [log] [tgz] |
---|---|---|
author | Neil Trini Lasrado <neil@frappe.io> | Tue Apr 14 13:06:07 2015 +0530 |
committer | Neil Trini Lasrado <neil@frappe.io> | Tue Apr 14 13:06:07 2015 +0530 |
tree | 083d4cd33ba85fff00772c7dc0bc224e52e90817 | |
parent | cf96cc26a0ec3fae611203b4bf482a94c5e5af60 [diff] |
Fixes in make_time_log function in Production Order
diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py index 7b70815..fa27e95 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 self.planned_start_date): + if not self.operations: return time_logs = []