fix: Patch to update Background Jobs URL
This commit is contained in:
parent
eced6a3dc1
commit
1053fba273
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
9
frappe/patches/v15_0/update_background_jobs_url.py
Normal file
9
frappe/patches/v15_0/update_background_jobs_url.py
Normal file
|
|
@ -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")
|
||||
Loading…
Add table
Reference in a new issue