From fb809c78e477901ac47285222275fc3e7fffe13b Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Fri, 22 Apr 2011 11:45:02 +0200 Subject: [PATCH] make the model of menu_action_id more specific (ir.actions.act_window) bzr revid: rco@openerp.com-20110422094502-31v10hshi31ulpgz --- addons/portal/portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/portal/portal.py b/addons/portal/portal.py index 69e2ae113f8..b111d79f4b5 100644 --- a/addons/portal/portal.py +++ b/addons/portal/portal.py @@ -39,7 +39,7 @@ class portal(osv.osv): 'portal_group_rel', 'portal_id', 'group_id', string='Other User Groups', help=_("Those groups are assigned to the portal's users")), - 'menu_action_id': fields.many2one('ir.actions.actions', readonly=True, + 'menu_action_id': fields.many2one('ir.actions.act_window', readonly=True, # ISSUE: 'ondelete' constraints do not seem effective on this field... string='Menu Action', help=_("If set, replaces the standard menu for the portal's users")),