[Fix] Default selling settings not fetched on customer quick entry form (#10243)
This commit is contained in:
parent
3a512af0e2
commit
ec9430dae7
@ -16,8 +16,10 @@ def boot_session(bootinfo):
|
|||||||
update_page_info(bootinfo)
|
update_page_info(bootinfo)
|
||||||
|
|
||||||
load_country_and_currency(bootinfo)
|
load_country_and_currency(bootinfo)
|
||||||
bootinfo.sysdefaults.territory = get_root_of('Territory')
|
bootinfo.sysdefaults.territory = frappe.db.get_single_value('Selling Settings',
|
||||||
bootinfo.sysdefaults.customer_group = get_root_of('Customer Group')
|
'territory') or get_root_of('Territory')
|
||||||
|
bootinfo.sysdefaults.customer_group = frappe.db.get_single_value('Selling Settings',
|
||||||
|
'customer_group') or get_root_of('Customer Group')
|
||||||
|
|
||||||
bootinfo.notification_settings = frappe.get_doc("Notification Control",
|
bootinfo.notification_settings = frappe.get_doc("Notification Control",
|
||||||
"Notification Control")
|
"Notification Control")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user