mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-30 02:14:48 +00:00
operation made non mandatory in time log
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user