diff --git a/erpnext/manufacturing/doctype/production_order/production_order.py b/erpnext/manufacturing/doctype/production_order/production_order.py index c8c3f6505e3..7b708156357 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 not self.planned_start_date: + if not (self.operations and self.planned_start_date): return time_logs = []