Skip to content
Snippets Groups Projects
Commit bcbab638 authored by Raphael Collet's avatar Raphael Collet
Browse files

[IMP] do not open inventory after changing the stock of a product

bzr revid: rco@openerp.com-20110722101705-lkadjvnwn08wt4x4
parents 3cb016f7 ceb222bb
No related branches found
No related tags found
No related merge requests found
......@@ -101,15 +101,7 @@ class stock_change_product_qty(osv.osv_memory):
inventry_obj.action_confirm(cr, uid, [inventory_id], context=context)
inventry_obj.action_done(cr, uid, [inventory_id], context=context)
return {
'domain': "[('id','=', %s)]" % (inventory_id),
'name' : _('Physical Inventories'),
'view_type': 'form',
'view_mode': 'tree,form',
'res_model': 'stock.inventory',
'context': context,
'type': 'ir.actions.act_window',
}
return {}
stock_change_product_qty()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment