brotherton-erpnext/erpnext/patches/v8_9/set_default_customer_group.py
Rushabh Mehta bf8e331135 [fix] unset default customer group (#10689)
* [fix] unset default customer group

* added __init__.py file for patch v8.9 directory
2017-09-14 15:03:45 +05:30

7 lines
174 B
Python

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