fix: Update account heads in GST test cases

This commit is contained in:
Deepesh Garg
2021-06-28 10:52:38 +05:30
parent bb679cc036
commit 779d2afa60
3 changed files with 19 additions and 21 deletions

View File

@@ -210,8 +210,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)