mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 11:25:09 +00:00
fix cost center
This commit is contained in:
@@ -55,7 +55,7 @@ class DocType:
|
||||
webnotes.utils.nestedset.update_nsm(self)
|
||||
|
||||
def check_if_child_exists(self):
|
||||
return sql("select name from `tabCost Center` where parent_cost_center = %s and docstatus != 2", self.doc.name, debug=1)
|
||||
return sql("select name from `tabCost Center` where parent_cost_center = %s and docstatus != 2", self.doc.name, debug=0)
|
||||
|
||||
# On Trash
|
||||
# --------
|
||||
|
||||
Reference in New Issue
Block a user