refactor(UAE VAT 201): Update erpnext/regional/report/uae_vat_201/test_uae_vat_201.py

Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2020-11-02 10:29:14 +05:30 committed by GitHub
parent 46265d3fc7
commit 7b771d139c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,12 +101,11 @@ def set_vat_accounts():
)
uae_vat_accounts = []
for d in vat_accounts:
uae_vat_accounts.append(
{
for account in vat_accounts:
uae_vat_accounts.append({
"doctype": "UAE VAT Account",
"account":d.name
})
"account": account.name
})
frappe.get_doc({
"company": "_Test Company UAE VAT",