fix tab (#13651)
This commit is contained in:
parent
6bf4e5b73b
commit
a952e40b56
@ -18,7 +18,7 @@ class Department(NestedSet):
|
|||||||
|
|
||||||
def on_trash(self):
|
def on_trash(self):
|
||||||
super(Department, self).on_trash()
|
super(Department, self).on_trash()
|
||||||
delete_events(self.doctype, self.name)
|
delete_events(self.doctype, self.name)
|
||||||
|
|
||||||
def on_doctype_update():
|
def on_doctype_update():
|
||||||
frappe.db.add_index("Department", ["lft", "rgt"])
|
frappe.db.add_index("Department", ["lft", "rgt"])
|
Loading…
x
Reference in New Issue
Block a user