Fixes in make_time_log function in Production Order
This commit is contained in:
parent
cf96cc26a0
commit
18dc151fc7
@ -201,7 +201,7 @@ class ProductionOrder(Document):
|
|||||||
Planned Start Date. Time logs will be created and remain in Draft mode and must be submitted
|
Planned Start Date. Time logs will be created and remain in Draft mode and must be submitted
|
||||||
before manufacturing entry can be made."""
|
before manufacturing entry can be made."""
|
||||||
|
|
||||||
if not (self.operations and self.planned_start_date):
|
if not self.operations:
|
||||||
return
|
return
|
||||||
|
|
||||||
time_logs = []
|
time_logs = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user