chore(UAE VAT 201) solve translations issues

This commit is contained in:
Mohammad Hasnain
2020-10-14 16:56:26 +05:30
parent dfc3993cec
commit b9dc13294d
2 changed files with 13 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ def get_tax_accounts(company):
)
if not tax_accounts_list and not frappe.flags.in_test:
frappe.throw(_(f'Please set Vat Accounts for Company: "{company}" in UAE VAT Settings'))
frappe.throw(_('Please set Vat Accounts for Company: "{0}" in UAE VAT Settings').format(company))
for d in tax_accounts_list:
for key, name in d.items():
tax_accounts_dict[name] = name