fix: missing translation function (#33938)

This commit is contained in:
El-Shafei H. 2025-09-08 13:01:07 +03:00 committed by GitHub
parent 804e211b2d
commit aaad14b698
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,23 +31,22 @@ def execute(filters=None):
def get_columns(filters):
reference_doctype = filters.get("reference_doctype")
return [
"{reference_doctype}:Link/{reference_doctype}".format(
reference_doctype=filters.get("reference_doctype")
),
"Address Line 1",
"Address Line 2",
"City",
"State",
"Postal Code",
"Country",
"Is Primary Address:Check",
"First Name",
"Last Name",
"Address",
"Phone",
"Email Id",
"Is Primary Contact:Check",
f"{_(reference_doctype)}:Link/{reference_doctype}",
_("Address Line 1"),
_("Address Line 2"),
_("City"),
_("State"),
_("Postal Code"),
_("Country"),
f"{_('Is Primary Address')}:Check",
_("First Name"),
_("Last Name"),
_("Address"),
_("Phone"),
_("Email Id"),
f"{_('Is Primary Contact')}:Check",
]