[MERGE] ir_actionsi_todo: improvement of action_launch in order to enable all possibilities on redirection to act window (previously: domain, tooltip... were not working)
bzr revid: qdp-launchpad@openerp.com-20110610085144-niv7aom03sczsrfz bzr revid: qdp-launchpad@openerp.com-20110615121427-gou3jnci11y9m2nx
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -125,3 +125,4 @@
|
||||
"access_res_widget_user","res.widget.user","model_res_widget",,1,0,0,0
|
||||
"access_res_log_all","res.log","model_res_log",,1,1,1,1
|
||||
"access_ir_config_parameter","ir_config_parameter","model_ir_config_parameter",,1,0,0,0
|
||||
"access_ir_actions_todo_category","ir_actions_todo_category","model_ir_actions_todo_category","group_system",1,1,1,1
|
||||
|
||||
|
Reference in New Issue
Block a user