fix: TDS calculation for advance payment

"against_voucher": ["is", "not set"] was used in query due to which if TDS was added on "advance" payment vouchers and then reconciled against purchase invoice. it will not find those vouchers and consider this as first-time threshold due to which it will calculate Tax for all transactions.

(cherry picked from commit a452143782)
This commit is contained in:
Maharshi Patel
2022-08-19 12:30:47 +05:30
committed by Mergify
parent 6be77d5729
commit 78b39d6ca4

View File

@@ -318,7 +318,6 @@ def get_advance_vouchers(
"is_cancelled": 0,
"party_type": party_type,
"party": ["in", parties],
"against_voucher": ["is", "not set"],
}
if company: