mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 09:43:49 +00:00
fix: incorrect condition
This commit is contained in:
@@ -1949,8 +1949,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))
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user