Merge pull request #32435 from frappe/mergify/bp/version-13-hotfix/pr-32412

fix: Incorrect TCS amount deducted in Sales Invoice (backport #32412)
This commit is contained in:
Deepesh Garg
2022-10-01 11:01:05 +05:30
committed by GitHub

View File

@@ -326,6 +326,9 @@ def get_advance_vouchers(
"party": ["in", parties],
}
if party_type == "Customer":
filters.update({"against_voucher": ["is", "not set"]})
if company:
filters["company"] = company
if from_date and to_date: