fix: Patch to update Background Jobs URL

This commit is contained in:
Suraj Shetty 2023-04-17 11:18:58 +05:30
parent eced6a3dc1
commit 1053fba273
2 changed files with 10 additions and 0 deletions

View file

@ -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

View 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")