fix: Condition
This commit is contained in:
parent
36c76c4035
commit
3e573e9838
@ -32,7 +32,7 @@ class Department(NestedSet):
|
|||||||
return new
|
return new
|
||||||
|
|
||||||
def on_update(self):
|
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()
|
super(Department, self).on_update()
|
||||||
|
|
||||||
def on_trash(self):
|
def on_trash(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user