[Fix] Special character issue while upadting customer group in customer (#14312)
This commit is contained in:
parent
2fa057e4ad
commit
ce642d73cb
@ -79,7 +79,7 @@ class Customer(TransactionBase):
|
||||
def update_customer_groups(self):
|
||||
ignore_doctypes = ["Lead", "Opportunity", "POS Profile", "Tax Rule", "Pricing Rule"]
|
||||
if frappe.flags.customer_group_changed:
|
||||
update_linked_doctypes('Customer', self.name, 'Customer Group',
|
||||
update_linked_doctypes('Customer', frappe.db.escape(self.name), 'Customer Group',
|
||||
self.customer_group, ignore_doctypes)
|
||||
|
||||
def create_primary_contact(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user