Merge pull request #43397 from ljain112/fix-tds-advance

fix: do not include advances for tds vouchers
This commit is contained in:
Smit Vora
2024-10-08 10:38:03 +05:30
committed by GitHub

View File

@@ -414,6 +414,9 @@ def get_advance_vouchers(parties, company=None, from_date=None, to_date=None, pa
Use Payment Ledger to fetch unallocated Advance Payments
"""
if party_type == "Supplier":
return []
ple = qb.DocType("Payment Ledger Entry")
conditions = []