mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 09:05:00 +00:00
fix: Stock Ledger Invariant Check report
(cherry picked from commit d7daedc5b2)
This commit is contained in:
committed by
Mergify
parent
86b10ce9bb
commit
2984bad2c0
@@ -52,7 +52,7 @@ def add_invariant_check_fields(sles):
|
||||
balance_qty = 0.0
|
||||
balance_stock_value = 0.0
|
||||
for idx, sle in enumerate(sles):
|
||||
queue = json.loads(sle.stock_queue)
|
||||
queue = json.loads(sle.stock_queue) if sle.stock_queue else []
|
||||
|
||||
fifo_qty = 0.0
|
||||
fifo_value = 0.0
|
||||
|
||||
Reference in New Issue
Block a user