[FIX] MRP : Wizard should end with close action

lp bug: https://launchpad.net/bugs/788079 fixed

bzr revid: jvo@tinyerp.com-20110713055315-gvn16kdvmglra6qv
This commit is contained in:
Jay Vora (OpenERP)
2011-07-13 11:23:15 +05:30
parent cf5bc24362
commit 91b7b68482
+1 -1
View File
@@ -74,7 +74,7 @@ class mrp_product_produce(osv.osv_memory):
for move_id in move_ids:
prod_obj.action_produce(cr, uid, move_id,
data['product_qty'], data['mode'], context=context)
return {}
return {'type': 'ir.actions.act_window_close'}
mrp_product_produce()