fix: reload sellling settings before patch

This commit is contained in:
Ankush Menat
2021-12-06 11:23:41 +05:30
committed by Ankush Menat
parent 9a1b4119e9
commit 90131f5e6e

View File

@@ -3,6 +3,7 @@ from frappe import _
def execute():
frappe.reload_doctype("Selling Settings")
selling_settings = frappe.get_single("Selling Settings")
if selling_settings.customer_group in (_("All Customer Groups"), "All Customer Groups"):