diff --git a/erpnext/stock/doctype/bin/bin.py b/erpnext/stock/doctype/bin/bin.py index 24c47fc84cc..1c2b53e5e59 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: