mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fix: sider
This commit is contained in:
@@ -48,6 +48,6 @@ def validate_regional(doc):
|
|||||||
|
|
||||||
def missing(field_label, regulation):
|
def missing(field_label, regulation):
|
||||||
"""Notify the user that a required field is missing."""
|
"""Notify the user that a required field is missing."""
|
||||||
translated_msg = _('Remember to set {field_label}. It is required by {regulation}.', context='Specific for Germany. Example: Remember to set Company Tax ID. It is required by § 14 Abs. 4 Nr. 2 UStG.')
|
translated_msg = _('Remember to set {field_label}. It is required by {regulation}.', context='Specific for Germany. Example: Remember to set Company Tax ID. It is required by § 14 Abs. 4 Nr. 2 UStG.') # noqa: E501
|
||||||
formatted_msg = translated_msg.format(field_label=frappe.bold(_(field_label)), regulation=regulation)
|
formatted_msg = translated_msg.format(field_label=frappe.bold(_(field_label)), regulation=regulation)
|
||||||
msgprint(formatted_msg)
|
msgprint(formatted_msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user