mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-18 02:55:20 +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'))
|
||||
|
||||
@@ -719,9 +719,9 @@ def get_company_gstin_number(company):
|
||||
if gstin:
|
||||
return gstin[0]["gstin"]
|
||||
else:
|
||||
frappe.throw(_("Please set valid GSTIN No. in Company Address for company {0}".format(
|
||||
frappe.throw(_("Please set valid GSTIN No. in Company Address for company {0}").format(
|
||||
frappe.bold(company)
|
||||
)))
|
||||
))
|
||||
|
||||
@frappe.whitelist()
|
||||
def download_json_file():
|
||||
|
||||
Reference in New Issue
Block a user