mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 17:45:04 +00:00
fix: Condition
This commit is contained in:
@@ -32,7 +32,7 @@ class Department(NestedSet):
|
||||
return new
|
||||
|
||||
def on_update(self):
|
||||
if not frappe.local.flags.ignore_update_nsm or frappe.flags.in_setup_wizard:
|
||||
if not (frappe.local.flags.ignore_update_nsm or frappe.flags.in_setup_wizard):
|
||||
super(Department, self).on_update()
|
||||
|
||||
def on_trash(self):
|
||||
|
||||
Reference in New Issue
Block a user