From de7fcc66dfcdf444fb4902c47b08c1296225c3ca Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 24 Sep 2012 15:53:01 +0530 Subject: [PATCH] updated repost_stock patch --- erpnext/patches/september_2012/repost_stock.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/patches/september_2012/repost_stock.py b/erpnext/patches/september_2012/repost_stock.py index 3a0690187b..c6b6ce39f7 100644 --- a/erpnext/patches/september_2012/repost_stock.py +++ b/erpnext/patches/september_2012/repost_stock.py @@ -18,8 +18,7 @@ from __future__ import unicode_literals def execute(): import webnotes from webnotes.model.code import get_obj - bin = webnotes.conn.sql("select name from `tabBin` where item_code = 'NAS' \ - and warehouse = 'MAHAPE'") + bin = webnotes.conn.sql("select name from `tabBin`") i=0 for d in bin: try: