fix: missing translation function (#33938)
This commit is contained in:
parent
804e211b2d
commit
aaad14b698
1 changed files with 15 additions and 16 deletions
|
|
@ -31,23 +31,22 @@ def execute(filters=None):
|
||||||
|
|
||||||
|
|
||||||
def get_columns(filters):
|
def get_columns(filters):
|
||||||
|
reference_doctype = filters.get("reference_doctype")
|
||||||
return [
|
return [
|
||||||
"{reference_doctype}:Link/{reference_doctype}".format(
|
f"{_(reference_doctype)}:Link/{reference_doctype}",
|
||||||
reference_doctype=filters.get("reference_doctype")
|
_("Address Line 1"),
|
||||||
),
|
_("Address Line 2"),
|
||||||
"Address Line 1",
|
_("City"),
|
||||||
"Address Line 2",
|
_("State"),
|
||||||
"City",
|
_("Postal Code"),
|
||||||
"State",
|
_("Country"),
|
||||||
"Postal Code",
|
f"{_('Is Primary Address')}:Check",
|
||||||
"Country",
|
_("First Name"),
|
||||||
"Is Primary Address:Check",
|
_("Last Name"),
|
||||||
"First Name",
|
_("Address"),
|
||||||
"Last Name",
|
_("Phone"),
|
||||||
"Address",
|
_("Email Id"),
|
||||||
"Phone",
|
f"{_('Is Primary Contact')}:Check",
|
||||||
"Email Id",
|
|
||||||
"Is Primary Contact:Check",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue