diff --git a/frappe/patches.txt b/frappe/patches.txt index da83094961..cd3d393be6 100644 --- a/frappe/patches.txt +++ b/frappe/patches.txt @@ -223,3 +223,4 @@ frappe.patches.v14_0.disable_email_accounts_with_oauth execute:frappe.delete_doc("Page", "translation-tool", force=1) frappe.patches.v15_0.remove_prepared_report_settings_from_system_settings frappe.patches.v14_0.remove_manage_subscriptions_from_navbar +frappe.patches.v15_0.update_background_jobs_url \ No newline at end of file diff --git a/frappe/patches/v15_0/update_background_jobs_url.py b/frappe/patches/v15_0/update_background_jobs_url.py new file mode 100644 index 0000000000..2661901459 --- /dev/null +++ b/frappe/patches/v15_0/update_background_jobs_url.py @@ -0,0 +1,9 @@ +import frappe + + +def execute(): + item = frappe.db.exists("Navbar Item", {"item_label": "Background Jobs"}) + if not item: + return + + frappe.set_value("Navbar Item", item, "route", "/app/rq-job")