From 7590b8fff1188541d1757514d724ed3688131dbe Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 27 Jul 2016 16:44:17 +0530 Subject: [PATCH] minor fix for stock ledger entry --- erpnext/stock/stock_ledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/stock_ledger.py b/erpnext/stock/stock_ledger.py index 03f2ee137f..a980ed0aff 100644 --- a/erpnext/stock/stock_ledger.py +++ b/erpnext/stock/stock_ledger.py @@ -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: