mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 07:18:27 +00:00
Fixes in logic for production order scheduling
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user