odoo/odoo#143640
Created by fw-bot
Merged
at af1f63cf4265a283a728eec1f4f3bda4653cf925
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: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-16.4-16.0-fix_hidden_drop_backport-bso-WMyP-fw
- head
- 6361d1a003cf2fbbb644676763a2052ec896a3c4
- merged
- 2 years ago by Website, Benoit Socias (bso)
odoo/odoo | |
---|---|
16.0 | #141389 |
saas-16.1 | #143215 |
saas-16.2 | #143227 |
saas-16.3 | #143236 |
saas-16.4 | #143640 |
17.0 | #143875 |
18.0 | |
saas-18.1 | |
saas-18.2 | |
saas-18.3 | |
master | #144316 |
[FW][FIX] web_editor: ignore device visibility upon snippet drop
This is a backport of #140505
Since 1 when device visibility became a visibility option, when dropping a snippet that contains device-invisible blocks, all those blocks were made visible.
This commit makes that behavior limited to blocks that are not device-invisible. (E.g. when dropping a popup)
Steps to reproduce:
- drop a Columns snippet
- hide a column on mobile
- hide a column on desktop
- save snippet
- drop saved snippet in either desktop or mobile preview
=> All columns were shown with the o_snippet_override_invisible
effect on the conditional ones.