mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 05:59:18 +00:00
fix(translations): Incorrect syntax
This commit is contained in:
@@ -550,9 +550,9 @@ def validate_sales_invoice(doc):
|
||||
|
||||
for fieldname in reqd_fields:
|
||||
if not doc.get(fieldname):
|
||||
frappe.throw(_('{} is required to generate e-Way Bill JSON'.format(
|
||||
frappe.throw(_('{} is required to generate e-Way Bill JSON').format(
|
||||
doc.meta.get_label(fieldname)
|
||||
)))
|
||||
))
|
||||
|
||||
if len(doc.company_gstin) < 15:
|
||||
frappe.throw(_('You must be a registered supplier to generate e-Way Bill'))
|
||||
|
||||
Reference in New Issue
Block a user