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.
This commit is contained in:
Maharshi Patel
2022-08-19 12:30:47 +05:30
parent 2471ca58ee
commit a452143782

View File

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