[REM] website: remove the “Model Pages” menu item

On website (with “developer” mode enabled), The “Model Pages” menu item
is accessible even when there are no created module page records, which
is not relevant in most use cases.

The code from [1] introduced a way to expose models (both manual and
existing models) publicly on the website by creating pages for them,
these records are accessible through the model pages' menu (which is
currently visible in debug mode only).

A first spec aimed to make this menu item visible only when module pages
are created for the current website, But since we need to perform async
calls for that (to check if some module page records exist), and after
further discussion, it was decided to remove it completely.

[1]: https://github.com/odoo/odoo/commit/198e226f5bd66dba6598d1ef85e5fa5fb82b38b2

task-3659626

closes odoo/odoo#148175

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Mehdi Outagant (MOU)
2024-01-09 20:51:51 +00:00
parent 7538d83c89
commit d08c9aab42
@@ -78,6 +78,7 @@
sequence="10"
name="Model Pages"
groups="base.group_no_one"
action="action_website_controller_pages_list" />
action="action_website_controller_pages_list"
active="False" />
</odoo>