mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-30 20:18:27 +00:00
nsm bug in customer_group and removed abbr in Cost Center
This commit is contained in:
@@ -39,6 +39,7 @@ class DocType(DocTypeNestedSet):
|
||||
|
||||
def on_update(self):
|
||||
self.validate_name_with_customer()
|
||||
super(DocType, self).on_update()
|
||||
|
||||
def validate_name_with_customer(self):
|
||||
if webnotes.conn.exists("Customer", self.doc.name):
|
||||
|
||||
Reference in New Issue
Block a user