From c4afd63e50a85a7b9a959c887b2af6bf87c43583 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Tue, 26 Jul 2016 20:47:42 +0530 Subject: [PATCH] [minor] Fixes --- erpnext/patches.txt | 2 +- erpnext/patches/v7_0/calculate_total_costing_amount.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 3e31d5ec20..7d6eba8bc8 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -279,7 +279,7 @@ execute:frappe.rename_doc("DocType", "Payments", "Sales Invoice Payment", force= erpnext.patches.v7_0.update_mins_to_first_response erpnext.patches.v6_20x.repost_valuation_rate_for_negative_inventory erpnext.patches.v7_0.system_settings_setup_complete -erpnext.patches.v7_0.set_naming_series_for_timesheet +erpnext.patches.v7_0.set_naming_series_for_timesheet #2016-07-27 execute:frappe.reload_doc('projects', 'doctype', 'project') execute:frappe.reload_doc('projects', 'doctype', 'project_user') erpnext.patches.v7_0.convert_timelogbatch_to_timesheet diff --git a/erpnext/patches/v7_0/calculate_total_costing_amount.py b/erpnext/patches/v7_0/calculate_total_costing_amount.py index 3163517ef3..4da839f356 100644 --- a/erpnext/patches/v7_0/calculate_total_costing_amount.py +++ b/erpnext/patches/v7_0/calculate_total_costing_amount.py @@ -11,5 +11,6 @@ def execute(): ts.update_cost() ts.calculate_total_amounts() ts.flags.ignore_validate = True + ts.flags.ignore_mandatory = True ts.flags.ignore_validate_update_after_submit = True ts.save()