updated repost_stock patch

This commit is contained in:
Nabin Hait 2012-09-24 15:53:01 +05:30
parent 9ed7b8bb75
commit de7fcc66df

View File

@ -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: