fix: incorrect condition

(cherry picked from commit 264baf34f6)
This commit is contained in:
Rohit Waghchaure
2025-12-08 19:46:08 +05:30
committed by Mergify
parent cbc73148d3
commit d9e9f35230

View File

@@ -1934,8 +1934,7 @@ def get_valuation_rate(
& (table.warehouse == warehouse)
& (table.batch_no == batch_no)
& (table.is_cancelled == 0)
& (table.voucher_no != voucher_no)
& (table.voucher_type != voucher_type)
& ((table.voucher_no != voucher_no) | (table.voucher_type != voucher_type))
)
)