odoo/odoo#190763
Created by ivantodorovich
Merged
at 219328de8291612db31d2c27050d3b50797b538f
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
- camptocamp:16.0-fix-apply-decoration-field-select
- head
- c69294e8d7cd72d5ebb5f897feb7647652ee8e6a
- merged
- 9 months ago by JavaScript, Aaron Bohy (aab)
odoo/odoo | |
---|---|
16.0 | #190763 |
17.0 | #190788 |
saas-17.2 | #190799 |
saas-17.4 | #190826 |
18.0 | #190844 |
saas-18.2 | |
saas-18.3 | |
saas-18.4 | |
19.0 | |
master | #190865 |
[FIX] web: Field: apply decorations on select
This is a regression since 48ef812a.
Before, the field's views were rendered directly, getting all the decoration classes on them. Since 48ef812a, they are rendered as a child of a parent Field
component (a div
), which gets the decoration classes instead 1.
The issue was partially fixed by 2f99f7dc, but only for <input/>
and <textarea/>
elements. The same fix is now applied to the <select/>
element.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
-
https://github.com/odoo/odoo/blob/60c7b65f/addons/web/static/src/views/fields/field.xml#L4-L8 ↩