fix(UAE VAT 201): Remove Chart

This commit is contained in:
Mohammad Hasnain
2020-11-02 13:12:27 +05:30
parent b0eca23485
commit 7a034595fe
2 changed files with 2 additions and 29 deletions

View File

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