Merge pull request #5894 from nabinhait/sle_fix_101

minor fix for stock ledger entry
This commit is contained in:
Nabin Hait 2016-07-27 16:44:54 +05:30 committed by GitHub
commit 949ceb18fc

View File

@ -250,7 +250,7 @@ class update_entries_after(object):
self.valuation_rate = new_stock_value / new_stock_qty
else:
self.valuation_rate = self.outgoing_rate
self.valuation_rate = sle.outgoing_rate
else:
if flt(self.qty_after_transaction) >= 0 and sle.outgoing_rate: