operation made non mandatory in time log

This commit is contained in:
Neil Trini Lasrado 2015-06-05 12:17:46 +05:30
parent b8ecf7c757
commit 39669f2717

View File

@ -195,8 +195,6 @@ class TimeLog(Document):
if self.for_manufacturing:
if not self.production_order:
frappe.throw(_("Production Order is Mandatory"))
if not self.operation:
frappe.throw(_("Operation is Mandatory"))
if not self.completed_qty:
self.completed_qty = 0