odoo/odoo#191571
Created by fw-bot
Merged
at 44533dc0b51895a4ed3534f6ade87e2df9f806ae
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Overridden by @mart-e
- label
- odoo-dev:18.0-16.0-fix-editing-slide-description-bvr-zw5F-fw
- head
- 177a80c216dc57c3b22c060eb6b38c0152ff6cf3
- merged
- 10 months ago by Website, Benjamin Vray (bvr)
| odoo/odoo | |
|---|---|
| 16.0 | #190620 |
| 17.0 | #191559 |
| saas-17.2 | #191563 |
| saas-17.4 | #191566 |
| 18.0 | #191571 |
| saas-18.1 | #191608 |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #191573 |
[FW][FIX] website_slides: fix website description field
This commit adds the parameter sanitize_overridable=True to the description field of website_slides slides. It means that the description can now be properly edited as an user with enough rights.
The issue is that the slide.description field is sanitized after saving a slide/* page, which removes <button> elements. This is not easily testable in version 16.0 because no blocks contain <button> elements. However, starting from version 18.0, new blocks like the accordion block include buttons, and these are removed after saving a slide/* page when they are dropped into it.
Forward-Port-Of: #190620