summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2011-04-22 11:45:02 +0200
committerRaphael Collet <rco@openerp.com>2011-04-22 11:45:02 +0200
commitfb809c78e477901ac47285222275fc3e7fffe13b (patch)
treee82080c2364966c28895db1e9f79ab2d0ef4cace
parent3428ee445002a18a835534141279f464fabd8208 (diff)
make the model of menu_action_id more specific (ir.actions.act_window)
bzr revid: rco@openerp.com-20110422094502-31v10hshi31ulpgz
-rw-r--r--addons/portal/portal.py2
1 files changed, 1 insertions, 1 deletions
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")),