[IMPBase:Improve method def action_launch
bzr revid: aag@tinyerp.co.in-20110613051549-2fyyef74dmyul4l0
This commit is contained in:
parent
f1bc807804
commit
b79f382b95
|
@ -842,7 +842,7 @@ class ir_actions_todo(osv.osv):
|
|||
context = {}
|
||||
wizard_id = ids and ids[0] or False
|
||||
wizard = self.browse(cr, uid, wizard_id, context=context)
|
||||
res = self.pool.get('ir.actions.act_window').read(cr, uid, wizard.action_id.id, ['name', 'view_type', 'view_mode', 'res_model', 'context', 'views', 'type','target'], context=context)
|
||||
res = self.pool.get('ir.actions.act_window').read(cr, uid, wizard.action_id.id, [], context=context)
|
||||
res.update({'nodestroy': True})
|
||||
return res
|
||||
|
||||
|
|
Loading…
Reference in New Issue