commit | 0540d52449bb562e78b5d382a506c62f37b7c596 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Tue Jul 26 12:59:00 2016 +0530 |
committer | GitHub <noreply@github.com> | Tue Jul 26 12:59:00 2016 +0530 |
tree | 8c7ed5a6530dd781549aa183f9e9d352d6a0207d | |
parent | c85aa3d9c584d8d3ba6e5cf21e0067dc03919153 [diff] | |
parent | 8a9daece7ec070a4628cea87561c685b1848016a [diff] |
Merge pull request #5868 from rohitwaghchaure/patch_issue [Fix] Timesheet patch
diff --git a/erpnext/patches/v7_0/calculate_total_costing_amount.py b/erpnext/patches/v7_0/calculate_total_costing_amount.py index f426904..3163517 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 @@ 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()