mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
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:
committed by
GitHub
parent
46265d3fc7
commit
7b771d139c
@@ -101,12 +101,11 @@ def set_vat_accounts():
|
|||||||
)
|
)
|
||||||
|
|
||||||
uae_vat_accounts = []
|
uae_vat_accounts = []
|
||||||
for d in vat_accounts:
|
for account in vat_accounts:
|
||||||
uae_vat_accounts.append(
|
uae_vat_accounts.append({
|
||||||
{
|
|
||||||
"doctype": "UAE VAT Account",
|
"doctype": "UAE VAT Account",
|
||||||
"account":d.name
|
"account": account.name
|
||||||
})
|
})
|
||||||
|
|
||||||
frappe.get_doc({
|
frappe.get_doc({
|
||||||
"company": "_Test Company UAE VAT",
|
"company": "_Test Company UAE VAT",
|
||||||
|
|||||||
Reference in New Issue
Block a user