fix: Update account heads in GST test cases

This commit is contained in:
Deepesh Garg
2021-06-28 10:52:38 +05:30
parent cf445eb7b4
commit ebc46c1e09
3 changed files with 46 additions and 47 deletions

View File

@@ -211,8 +211,6 @@ def get_or_create_account(company_name, account):
'account_number': account.get('account_number')
})
print(company_name, account, existing_accounts)
if existing_accounts:
return frappe.get_doc('Account', existing_accounts[0].name)