mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +00:00
chore: incompatible changes
This commit is contained in:
committed by
Ankush Menat
parent
8c2bfe1d5c
commit
78f694ca4e
@@ -91,11 +91,6 @@ def find_first_bad_queue(sles):
|
|||||||
sle.fifo_qty_diff = sle.qty_after_transaction - sle.fifo_queue_qty
|
sle.fifo_qty_diff = sle.qty_after_transaction - sle.fifo_queue_qty
|
||||||
sle.fifo_value_diff = sle.stock_value - sle.fifo_stock_value
|
sle.fifo_value_diff = sle.stock_value - sle.fifo_stock_value
|
||||||
|
|
||||||
if sle.batch_no:
|
|
||||||
sle.use_batchwise_valuation = frappe.db.get_value(
|
|
||||||
"Batch", sle.batch_no, "use_batchwise_valuation", cache=True
|
|
||||||
)
|
|
||||||
|
|
||||||
if abs(sle.fifo_qty_diff) > 0.001 or abs(sle.fifo_value_diff) > 0.1:
|
if abs(sle.fifo_qty_diff) > 0.001 or abs(sle.fifo_value_diff) > 0.1:
|
||||||
if idx:
|
if idx:
|
||||||
data.append(sles[idx - 1])
|
data.append(sles[idx - 1])
|
||||||
|
|||||||
Reference in New Issue
Block a user