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(): def execute():
import webnotes import webnotes
from webnotes.model.code import get_obj from webnotes.model.code import get_obj
bin = webnotes.conn.sql("select name from `tabBin` where item_code = 'NAS' \ bin = webnotes.conn.sql("select name from `tabBin`")
and warehouse = 'MAHAPE'")
i=0 i=0
for d in bin: for d in bin:
try: try: