chore: fix typo

(cherry picked from commit 85378f9d1a)
This commit is contained in:
ruthra kumar
2025-02-05 11:52:52 +05:30
committed by Mergify
parent 8108d7fdba
commit b926b49afa

View File

@@ -2250,9 +2250,9 @@ def get_outstanding_reference_documents(args, validate=False):
accounts = get_party_account(
args.get("party_type"), args.get("party"), args.get("company"), include_advance=True
)
advnace_account = accounts[1] if len(accounts) >= 1 else None
advance_account = accounts[1] if len(accounts) >= 1 else None
if party_account == advnace_account:
if party_account == advance_account:
party_account = accounts[0]
if args.get("get_outstanding_invoices"):