Merge pull request #5868 from rohitwaghchaure/patch_issue

[Fix] Timesheet patch
This commit is contained in:
Rushabh Mehta 2016-07-26 12:59:00 +05:30 committed by GitHub
commit 0540d52449

View File

@ -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()