Skip to content

Commit

Permalink
Attribute ACCOUNTS_PAYABLE should only have accounts which are Accoun…
Browse files Browse the repository at this point in the history
…ts Payable (#583)
  • Loading branch information
Ashutosh619-sudo authored Mar 13, 2024
1 parent 5f6cb93 commit 67fa1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/quickbooks_online/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def sync_accounts(self):
}
)

elif value:
elif account['AccountType'] == 'Accounts Payable' and value:
account_attributes['accounts_payable'].append(
{
'attribute_type': 'ACCOUNTS_PAYABLE',
Expand Down

0 comments on commit 67fa1f6

Please sign in to comment.