From e19eea3718aebc31a4fcee925d7bb28ab8d43a08 Mon Sep 17 00:00:00 2001 From: mbauskar Date: Tue, 25 Apr 2017 15:37:57 +0530 Subject: [PATCH] [minor] added ignore_mandatory flag if setup wizard is not completed --- frappe/patches/v8_0/set_currency_field_precision.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/patches/v8_0/set_currency_field_precision.py b/frappe/patches/v8_0/set_currency_field_precision.py index 1888ed590c..ef1bc195e3 100644 --- a/frappe/patches/v8_0/set_currency_field_precision.py +++ b/frappe/patches/v8_0/set_currency_field_precision.py @@ -17,5 +17,6 @@ def execute(): ss = frappe.get_doc("System Settings") ss.currency_precision = precision + ss.flags.ignore_mandatory = True ss.save() \ No newline at end of file