From f027fd0c66acb8485ec017cf48b9c9f42448ba2b Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Sun, 24 Jul 2016 00:38:10 +0530 Subject: [PATCH] [Fix] Timesheet patch --- erpnext/projects/doctype/timesheet/timesheet.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/erpnext/projects/doctype/timesheet/timesheet.py b/erpnext/projects/doctype/timesheet/timesheet.py index 6881e0b80b..e882346435 100644 --- a/erpnext/projects/doctype/timesheet/timesheet.py +++ b/erpnext/projects/doctype/timesheet/timesheet.py @@ -91,9 +91,6 @@ class Timesheet(Document): frappe.throw(_("Row {0}: Completed Qty cannot be more than {0} for operation {1}").format(data.idx, pending_qty, self.operation), OverProductionLoggedError) - if data.billable and flt(data.billing_rate) == 0.0 and data.activity_type: - frappe.throw(_("Row {0}: Billing Rate must be greater than zero.").format(data.idx)) - def update_production_order(self, time_sheet): if self.production_order: pro = frappe.get_doc('Production Order', self.production_order)