operation made non mandatory in time log
This commit is contained in:
parent
b8ecf7c757
commit
39669f2717
@ -195,8 +195,6 @@ class TimeLog(Document):
|
|||||||
if self.for_manufacturing:
|
if self.for_manufacturing:
|
||||||
if not self.production_order:
|
if not self.production_order:
|
||||||
frappe.throw(_("Production Order is Mandatory"))
|
frappe.throw(_("Production Order is Mandatory"))
|
||||||
if not self.operation:
|
|
||||||
frappe.throw(_("Operation is Mandatory"))
|
|
||||||
if not self.completed_qty:
|
if not self.completed_qty:
|
||||||
self.completed_qty = 0
|
self.completed_qty = 0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user