mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
fix: incorrect condition
This commit is contained in:
@@ -1949,8 +1949,7 @@ def get_valuation_rate(
|
|||||||
& (table.warehouse == warehouse)
|
& (table.warehouse == warehouse)
|
||||||
& (table.batch_no == batch_no)
|
& (table.batch_no == batch_no)
|
||||||
& (table.is_cancelled == 0)
|
& (table.is_cancelled == 0)
|
||||||
& (table.voucher_no != voucher_no)
|
& ((table.voucher_no != voucher_no) | (table.voucher_type != voucher_type))
|
||||||
& (table.voucher_type != voucher_type)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user