Skip to content

Commit

Permalink
chore: incompatible changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush authored May 11, 2022
1 parent 8c2bfe1 commit 244fb2a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ def find_first_bad_queue(sles):
sle.fifo_qty_diff = sle.qty_after_transaction - sle.fifo_queue_qty
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 idx:
Expand Down

0 comments on commit 244fb2a

Please sign in to comment.