From 18dc151fc781be4bc6bb7fc55df1ce72143c98ee Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Tue, 14 Apr 2015 13:06:07 +0530 Subject: [PATCH] Fixes in make_time_log function in Production Order --- .../manufacturing/doctype/production_order/production_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py index 7b70815635..fa27e9533d 100644 --- a/erpnext/manufacturing/doctype/production_order/production_order.py +++ b/erpnext/manufacturing/doctype/production_order/production_order.py @@ -201,7 +201,7 @@ class ProductionOrder(Document): 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 = []