mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
Merge pull request #43553 from frappe/mergify/bp/version-15-hotfix/pr-43397
fix: do not include advances for tds vouchers (backport #43397)
This commit is contained in:
@@ -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
|
Use Payment Ledger to fetch unallocated Advance Payments
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if party_type == "Supplier":
|
||||||
|
return []
|
||||||
|
|
||||||
ple = qb.DocType("Payment Ledger Entry")
|
ple = qb.DocType("Payment Ledger Entry")
|
||||||
|
|
||||||
conditions = []
|
conditions = []
|
||||||
|
|||||||
Reference in New Issue
Block a user