Merge pull request #32412 from deepeshgarg007/tcs_deduction_issue

fix: Incorrect TCS amount deducted in Sales Invoice
This commit is contained in:
Deepesh Garg 2022-09-30 16:05:30 +05:30 committed by GitHub
commit cceb29c005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,6 +335,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: