mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
chore: Update user manual link (#34478)
* chore: Update user manual link (#34478)
(cherry picked from commit be723bb9d4)
# Conflicts:
# erpnext/patches.txt
* chore: resolve conflicts
* chore: Update version
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
* chore: Update version
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
---------
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
This commit is contained in:
@@ -376,3 +376,4 @@ erpnext.patches.v13_0.create_accounting_dimensions_for_asset_repair
|
|||||||
execute:frappe.db.set_value("Naming Series", "Naming Series", {"select_doc_for_series": "", "set_options": "", "prefix": "", "current_value": 0, "user_must_always_select": 0})
|
execute:frappe.db.set_value("Naming Series", "Naming Series", {"select_doc_for_series": "", "set_options": "", "prefix": "", "current_value": 0, "user_must_always_select": 0})
|
||||||
erpnext.patches.v13_0.update_schedule_type_in_loans
|
erpnext.patches.v13_0.update_schedule_type_in_loans
|
||||||
erpnext.patches.v13_0.update_asset_value_for_manual_depr_entries
|
erpnext.patches.v13_0.update_asset_value_for_manual_depr_entries
|
||||||
|
erpnext.patches.v13_0.update_docs_link
|
||||||
|
|||||||
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/v13/user/manual/en/introduction"
|
||||||
|
|
||||||
|
navbar_settings.save()
|
||||||
@@ -150,7 +150,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/v13/user/manual/en/introduction",
|
||||||
"is_standard": 1,
|
"is_standard": 1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user