[FIX] ir.ui.menu: typo during merge of simplified cache
bzr revid: odo@openerp.com-20110901143038-dpuehbd8p1e0o3qz
This commit is contained in:
parent
73b7b4faf0
commit
52f6e15e5c
|
@ -88,7 +88,7 @@ class ir_ui_menu(osv.osv):
|
|||
|
||||
field = model_field.get(menu.action._name)
|
||||
if field and data[field]:
|
||||
if not modelaccess.check(cr, uid, data[field], False):
|
||||
if not modelaccess.check(cr, uid, data[field], 'read', False):
|
||||
continue
|
||||
else:
|
||||
# if there is no action, it's a 'folder' menu
|
||||
|
|
Loading…
Reference in New Issue