stock_ledger, removed un-necessary incoming_rate calculation

This commit is contained in:
Rushabh Mehta 2013-01-15 10:42:39 +05:30
parent 29b8093ec4
commit ed34ab43e8

View File

@ -248,8 +248,6 @@ def get_fifo_values(qty_after_transaction, sle, stock_queue):
batch[0] -= qty_to_pop
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_qty = sum((flt(batch[0]) for batch in stock_queue))