From 8a9daece7ec070a4628cea87561c685b1848016a Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Tue, 26 Jul 2016 12:57:05 +0530 Subject: [PATCH] [Fix] Timesheet patch --- erpnext/patches/v7_0/calculate_total_costing_amount.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v7_0/calculate_total_costing_amount.py b/erpnext/patches/v7_0/calculate_total_costing_amount.py index f426904074..3163517ef3 100644 --- a/erpnext/patches/v7_0/calculate_total_costing_amount.py +++ b/erpnext/patches/v7_0/calculate_total_costing_amount.py @@ -10,5 +10,6 @@ def execute(): ts = frappe.get_doc('Timesheet', data.name) ts.update_cost() ts.calculate_total_amounts() + ts.flags.ignore_validate = True ts.flags.ignore_validate_update_after_submit = True ts.save()