mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 06:59:20 +00:00
fix: add missing translation function for company default error message
This commit is contained in:
@@ -1146,7 +1146,7 @@ def get_company_default(company, fieldname, ignore_validation=False):
|
|||||||
if not ignore_validation and not value:
|
if not ignore_validation and not value:
|
||||||
throw(
|
throw(
|
||||||
_("Please set default {0} in Company {1}").format(
|
_("Please set default {0} in Company {1}").format(
|
||||||
frappe.get_meta("Company").get_label(fieldname), company
|
_(frappe.get_meta("Company").get_label(fieldname)), company
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user