Fixes in logic for production order scheduling
This commit is contained in:
parent
d3d94d1efe
commit
c43ac20115
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user