stock_ledger, removed un-necessary incoming_rate calculation
This commit is contained in:
parent
29b8093ec4
commit
ed34ab43e8
@ -248,8 +248,6 @@ def get_fifo_values(qty_after_transaction, sle, stock_queue):
|
|||||||
batch[0] -= qty_to_pop
|
batch[0] -= qty_to_pop
|
||||||
qty_to_pop = 0
|
qty_to_pop = 0
|
||||||
|
|
||||||
incoming_rate = incoming_cost / flt(abs(actual_qty))
|
|
||||||
|
|
||||||
stock_value = sum((flt(batch[0]) * flt(batch[1]) for batch in stock_queue))
|
stock_value = sum((flt(batch[0]) * flt(batch[1]) for batch in stock_queue))
|
||||||
stock_qty = sum((flt(batch[0]) for batch in stock_queue))
|
stock_qty = sum((flt(batch[0]) for batch in stock_queue))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user