From 3e8f35c09e40ae211f69cc2c8fa97133ebcdaec4 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 30 Apr 2012 11:47:45 +0530 Subject: [PATCH] fixes in bin --- erpnext/stock/doctype/bin/bin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/bin/bin.py b/erpnext/stock/doctype/bin/bin.py index 24c47fc84c..1c2b53e5e5 100644 --- a/erpnext/stock/doctype/bin/bin.py +++ b/erpnext/stock/doctype/bin/bin.py @@ -270,7 +270,7 @@ class DocType: # if no prev sle, start from the first one (for repost) if not prev_sle: - cqty, cval, val_rate, self.fcfs_bal = 0, 0, 0, [] + cqty, cval, val_rate, stock_val, self.fcfs_bal = 0, 0, 0, 0, [] # normal else: