From ff0a109a139a7d5d6fdb64986a3ed5e8e1a98daf Mon Sep 17 00:00:00 2001 From: Gursheen Anand Date: Mon, 26 Feb 2024 17:39:08 +0530 Subject: [PATCH] fix: remove old ref links --- .../doctype/item_tax_template/item_tax_template_dashboard.py | 2 +- .../sales_taxes_and_charges_template_dashboard.py | 2 +- erpnext/setup/doctype/vehicle/vehicle_dashboard.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/doctype/item_tax_template/item_tax_template_dashboard.py b/erpnext/accounts/doctype/item_tax_template/item_tax_template_dashboard.py index 5a2bd720dd3..58320b237c3 100644 --- a/erpnext/accounts/doctype/item_tax_template/item_tax_template_dashboard.py +++ b/erpnext/accounts/doctype/item_tax_template/item_tax_template_dashboard.py @@ -8,6 +8,6 @@ def get_data(): {"label": _("Pre Sales"), "items": ["Quotation", "Supplier Quotation"]}, {"label": _("Sales"), "items": ["Sales Invoice", "Sales Order", "Delivery Note"]}, {"label": _("Purchase"), "items": ["Purchase Invoice", "Purchase Order", "Purchase Receipt"]}, - {"label": _("Stock"), "items": ["Item Groups", "Item"]}, + {"label": _("Stock"), "items": ["Item Group", "Item"]}, ], } diff --git a/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template_dashboard.py b/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template_dashboard.py index 6432acaae93..7e66375a7dc 100644 --- a/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template_dashboard.py +++ b/erpnext/accounts/doctype/sales_taxes_and_charges_template/sales_taxes_and_charges_template_dashboard.py @@ -11,6 +11,6 @@ def get_data(): }, "transactions": [ {"label": _("Transactions"), "items": ["Sales Invoice", "Sales Order", "Delivery Note"]}, - {"label": _("References"), "items": ["POS Profile", "Subscription", "Restaurant", "Tax Rule"]}, + {"label": _("References"), "items": ["POS Profile", "Subscription", "Tax Rule"]}, ], } diff --git a/erpnext/setup/doctype/vehicle/vehicle_dashboard.py b/erpnext/setup/doctype/vehicle/vehicle_dashboard.py index 9b11a2bb05a..08fd12dedca 100644 --- a/erpnext/setup/doctype/vehicle/vehicle_dashboard.py +++ b/erpnext/setup/doctype/vehicle/vehicle_dashboard.py @@ -6,5 +6,5 @@ def get_data(): return { "fieldname": "license_plate", "non_standard_fieldnames": {"Delivery Trip": "vehicle"}, - "transactions": [{"items": ["Vehicle Log"]}, {"items": ["Delivery Trip"]}], + "transactions": [{"items": ["Delivery Trip"]}], }