minor fix for stock ledger entry
This commit is contained in:
parent
5a8b7ca7be
commit
7590b8fff1
@ -250,7 +250,7 @@ class update_entries_after(object):
|
|||||||
|
|
||||||
self.valuation_rate = new_stock_value / new_stock_qty
|
self.valuation_rate = new_stock_value / new_stock_qty
|
||||||
else:
|
else:
|
||||||
self.valuation_rate = self.outgoing_rate
|
self.valuation_rate = sle.outgoing_rate
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if flt(self.qty_after_transaction) >= 0 and sle.outgoing_rate:
|
if flt(self.qty_after_transaction) >= 0 and sle.outgoing_rate:
|
||||||
|
Loading…
Reference in New Issue
Block a user