Fix labels to accept translation in selling doctype (#9135)
"label": _("Customer Addresses And Contacts"),
"label": _("Sales Partner Addresses And Contacts"),
now they can accept to be translated
diff --git a/erpnext/config/selling.py b/erpnext/config/selling.py
index bbae245..fef902e 100644
--- a/erpnext/config/selling.py
+++ b/erpnext/config/selling.py
@@ -121,7 +121,7 @@
"type": "report",
"is_query_report": True,
"name": "Addresses And Contacts",
- "label": "Sales Partner Addresses And Contacts",
+ "label": _("Sales Partner Addresses And Contacts"),
"doctype": "Address",
"route_options": {
"party_type": "Sales Partner"
@@ -226,7 +226,7 @@
"type": "report",
"is_query_report": True,
"name": "Addresses And Contacts",
- "label": "Customer Addresses And Contacts",
+ "label": _("Customer Addresses And Contacts"),
"doctype": "Address",
"route_options": {
"party_type": "Customer"