Merge pull request #3419 from neilLasrado/time-log

operation made non mandatory in time log
This commit is contained in:
Nabin Hait 2015-06-05 14:30:22 +05:30
commit 8f39766924

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