mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 03:45:08 +00:00
Merge pull request #51507 from elshafei-developer/fix-add-missing-translate-function
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:
|
||||
throw(
|
||||
_("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