Skip to content

Commit

Permalink
Merge pull request #43552 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-43397

fix: do not include advances for tds vouchers (backport #43397)
  • Loading branch information
vorasmit authored Oct 8, 2024
2 parents 0336e7a + 9d950a9 commit d6f9909
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,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 = []
Expand Down

0 comments on commit d6f9909

Please sign in to comment.