Skip to content
Snippets Groups Projects
Commit 5f28c7d9 authored by Louis (loco)'s avatar Louis (loco) Committed by qsm-odoo
Browse files

[FIX] web_editor: enable the use of the save option only on snippets


Steps to reproduce the bug:
- Add a "Table of Content" on the website.
- Try to save a "Block" of the table.
- 14.0: you get an error message.
- 15.0: it keeps loading forever.
- 16.0: you get a white page.

Users should not have the possibility to save part of a snippet. The
goal of this commit is to ensure that the save option applies on a
snippet. If it is the case, the user has the possibility to save it. If
not, the user does not have the opportunity to save it.

opw-3056913

closes odoo/odoo#107012

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 1ee8d10b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment