mirror of
https://github.com/hanzo-io/team.git
synced 2026-10-30 18:56:23 +00:00
16 lines
347 B
Python
16 lines
347 B
Python
import frappe
|
|
|
|
|
|
def after_uninstall():
|
|
remove_standard_navbar_items()
|
|
|
|
|
|
def remove_standard_navbar_items():
|
|
|
|
frappe.db.delete(
|
|
"Navbar Item",
|
|
{"item_label": "Raven", "is_standard": 1, "item_type": "Route", "route": "/raven"},
|
|
)
|
|
# This will run in a post uninstall hook hence needs to be committed manually
|
|
frappe.db.commit() # nosemgrep
|