chore: Update user manual link (#34478)
This commit is contained in:
parent
6b0dc62681
commit
be723bb9d4
@ -322,6 +322,7 @@ erpnext.patches.v14_0.create_accounting_dimensions_for_payment_request
|
|||||||
erpnext.patches.v14_0.update_entry_type_for_journal_entry
|
erpnext.patches.v14_0.update_entry_type_for_journal_entry
|
||||||
erpnext.patches.v14_0.change_autoname_for_tax_withheld_vouchers
|
erpnext.patches.v14_0.change_autoname_for_tax_withheld_vouchers
|
||||||
erpnext.patches.v14_0.set_pick_list_status
|
erpnext.patches.v14_0.set_pick_list_status
|
||||||
|
erpnext.patches.v13_0.update_docs_link
|
||||||
erpnext.patches.v15_0.update_asset_value_for_manual_depr_entries
|
erpnext.patches.v15_0.update_asset_value_for_manual_depr_entries
|
||||||
erpnext.patches.v15_0.update_gpa_and_ndb_for_assdeprsch
|
erpnext.patches.v15_0.update_gpa_and_ndb_for_assdeprsch
|
||||||
# below migration patches should always run last
|
# below migration patches should always run last
|
||||||
|
|||||||
14
erpnext/patches/v13_0/update_docs_link.py
Normal file
14
erpnext/patches/v13_0/update_docs_link.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright (c) 2023, Frappe Technologies Pvt. Ltd. and Contributors
|
||||||
|
# License: MIT. See LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
navbar_settings = frappe.get_single("Navbar Settings")
|
||||||
|
for item in navbar_settings.help_dropdown:
|
||||||
|
if item.is_standard and item.route == "https://erpnext.com/docs/user/manual":
|
||||||
|
item.route = "https://docs.erpnext.com/docs/v14/user/manual/en/introduction"
|
||||||
|
|
||||||
|
navbar_settings.save()
|
||||||
@ -155,7 +155,7 @@ def add_standard_navbar_items():
|
|||||||
{
|
{
|
||||||
"item_label": "Documentation",
|
"item_label": "Documentation",
|
||||||
"item_type": "Route",
|
"item_type": "Route",
|
||||||
"route": "https://erpnext.com/docs/user/manual",
|
"route": "https://docs.erpnext.com/docs/v14/user/manual/en/introduction",
|
||||||
"is_standard": 1,
|
"is_standard": 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user