fix(translations): Incorrect syntax

This commit is contained in:
Suraj Shetty
2020-01-29 15:34:06 +05:30
parent 2f67647f7b
commit da2c69e836
6 changed files with 14 additions and 14 deletions

View File

@@ -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'))