Merge pull request #42064 from frappe/mergify/bp/version-14-hotfix/pr-41979

fix: dynamic_link for party in customer and supplier dashboard (backport #41979)
This commit is contained in:
Smit Vora
2024-06-28 13:04:35 +05:30
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ def get_data():
),
"fieldname": "supplier",
"non_standard_fieldnames": {"Payment Entry": "party", "Bank Account": "party"},
"dynamic_links": {"party": ["Supplier", "party_type"]},
"transactions": [
{"label": _("Procurement"), "items": ["Request for Quotation", "Supplier Quotation"]},
{"label": _("Orders"), "items": ["Purchase Order", "Purchase Receipt", "Purchase Invoice"]},

View File

@@ -15,7 +15,10 @@ def get_data():
"Bank Account": "party",
"Subscription": "party",
},
"dynamic_links": {"party_name": ["Customer", "quotation_to"]},
"dynamic_links": {
"party_name": ["Customer", "quotation_to"],
"party": ["Customer", "party_type"],
},
"transactions": [
{"label": _("Pre Sales"), "items": ["Opportunity", "Quotation"]},
{"label": _("Orders"), "items": ["Sales Order", "Delivery Note", "Sales Invoice"]},