There isn't `ir.model.access` on `event.event.ticket` for public and portal users, but there is already the `ir.rule` to check the access. In master, It causes an issue now, since https://github.com/odoo/odoo/pull/82896, the `description` field of `event.event.ticket` isn't prefetch anymore by the sudoed `event_registrations_open` compute (that fill the cache with ticket data in sudo). It crashes single app build: https://runbot.odoo.com/runbot/build/12473674 We prefer to backport it in stable, there are maybe some corners where it will raise an Exception and for sake of correctness. closes odoo/odoo#84072 X-original-commit: d4f1be276d31215158b164f2f282afa8fa75f2b9 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
10 lines
716 B
CSV
10 lines
716 B
CSV
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
|
access_event_event,event.event,model_event_event,,1,0,0,0
|
|
access_event_event_ticket,event.event.ticket,event.model_event_event_ticket,,1,0,0,0
|
|
access_event_type,event.type,event.model_event_type,,0,0,0,0
|
|
access_event_tag_category,event.tag.category,event.model_event_tag_category,,1,0,0,0
|
|
access_event_tag,event.tag,event.model_event_tag,,1,0,0,0
|
|
access_website_event_menu,website.event.menu,model_website_event_menu,,1,0,0,0
|
|
access_website_event_menu_user,website.event.menu.user,model_website_event_menu,event.group_event_user,1,1,1,1
|
|
access_website_visitor_user,website.visitor.user,model_website_visitor,event.group_event_user,1,1,0,0
|