brotherton-erpnext/erpnext/patches/v8_9/set_default_customer_group.py

7 lines
174 B
Python
Raw Normal View History

import frappe
def execute():
selling_settings = frappe.get_single('Selling Settings')
selling_settings.set_default_customer_group_and_territory()
selling_settings.save()