[IMP]:Improve in wizard of schedular

bzr revid: ksa@tinyerp.co.in-20101206053421-fr6j4hvo056xm5fv
This commit is contained in:
ksa (Open ERP) 2010-12-06 11:04:21 +05:30
parent 3f511d602d
commit 7969b68250
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class procurement_order(osv.osv):
if to_generate >= proc:
wf_service.trg_validate(uid, 'procurement.order', procure_qty[proc], 'button_confirm', cr)
wf_service.trg_validate(uid, 'procurement.order', procure_qty[proc], 'button_check', cr)
procurement_obj.write(cr, uid, [pro_qty[proc]], {'origin': op.name}, context=context)
procurement_obj.write(cr, uid, [procure_qty[proc]], {'origin': op.name}, context=context)
to_generate -= proc
if not to_generate:
break