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:
@@ -326,6 +326,9 @@ def get_advance_vouchers(
|
|||||||
"party": ["in", parties],
|
"party": ["in", parties],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if party_type == "Customer":
|
||||||
|
filters.update({"against_voucher": ["is", "not set"]})
|
||||||
|
|
||||||
if company:
|
if company:
|
||||||
filters["company"] = company
|
filters["company"] = company
|
||||||
if from_date and to_date:
|
if from_date and to_date:
|
||||||
|
|||||||
Reference in New Issue
Block a user