diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-05-18 16:51:58 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-05-19 14:07:00 +0000 |
| commit | 86ecb86069f48a6ab46d03e34c159b53d20f1ae0 (patch) | |
| tree | 46b5b89530cc93ff4a9b69cc125d85d0a5e03f1e /addons/timer/static/src/js/timer_toggle_button.js | |
| parent | c5d3a109f530cd0763a1c3860086b5b7abef1b64 (diff) | |
[FIX] base: groups also distribute branding
When there is a:
`groups="..."`
on a qweb view, when you edit the view with the editor then save all
groups will be removed since they are processed (so either we don't see
`groups` in the rendered view, or we don't see the element itself).
With this change, the "where should this part be saved when edited"
branding will be distributed to elements with `groups` attribute.
Added test without change failed with:
AssertionError: {'data-oe-model': 'ir.ui.view', 'data-oe-id': '827',
'data-oe-field': 'arch'} != {}
because branding was added to `root` tag before change.
opw-2253576
closes #51489
closes odoo/odoo#51548
X-original-commit: c77bd5b043b7d2a795d0fc70c8e83b308a357224
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/timer/static/src/js/timer_toggle_button.js')
0 files changed, 0 insertions, 0 deletions
