mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
fix: reload sellling settings before patch
This commit is contained in:
committed by
Ankush Menat
parent
9a1b4119e9
commit
90131f5e6e
@@ -3,6 +3,7 @@ from frappe import _
|
|||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doctype("Selling Settings")
|
||||||
selling_settings = frappe.get_single("Selling Settings")
|
selling_settings = frappe.get_single("Selling Settings")
|
||||||
|
|
||||||
if selling_settings.customer_group in (_("All Customer Groups"), "All Customer Groups"):
|
if selling_settings.customer_group in (_("All Customer Groups"), "All Customer Groups"):
|
||||||
|
|||||||
Reference in New Issue
Block a user