[FIX] website: do not use shared category

The website_page_controller_expose is a technical model for portal and
public, not for employee

The side-effect of the change was that, before this commit, the
category Website was no longer a selection but a list of boolean only
accessible in debug mode

closes odoo/odoo#144342

Signed-off-by: Vranckx Florian (flvr) <flvr@odoo.com>
This commit is contained in:
Martin Trigaux
2023-12-01 17:08:03 +00:00
parent 227671290d
commit 2d75cc8d90
+1 -1
View File
@@ -94,7 +94,7 @@
<!-- Website Page Controller: exposing arbitrary models -->
<record id="website_page_controller_expose" model="res.groups">
<field name="name">Public access to arbitrary exposed model</field>
<field name="category_id" ref="base.module_category_website_website"/>
<field name="category_id" ref="base.module_category_hidden"/>
</record>
<record id="base.group_public" model="res.groups">