diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-02 14:52:15 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-02 14:52:15 +0100 |
| commit | 469e04e97c2aa60d9d41bd430e0aeba77ee6f9dd (patch) | |
| tree | 0119f59009274d2c569920432c9a7fabafde0974 /addons/web/static/src/xml | |
| parent | 78d20b552b4374b94aec7097c0e6a48a3dd2d961 (diff) | |
| parent | 2611a8198eaac60cf424742e4dc411700e439352 (diff) | |
[MERGE] forward port of branch saas-8 up to 2611a81
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a8c24000c6b..f4e7e45740f 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1437,13 +1437,11 @@ <t t-name="FieldMany2ManyCheckBoxes"> <t t-foreach="widget.get('records')" t-as="record"> <div> - <t t-if="widget.get('value').indexOf(record[0]) !== -1"> - <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])" checked="true"/> - </t> - <t t-if="widget.get('value').indexOf(record[0]) === -1"> - <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])"/> - </t> - <t t-esc="record[1]"/> + <label style="font-weight: normal"> + <input type="checkbox" t-att-data-record-id="JSON.stringify(record[0])" + t-att-checked="(widget.get('value').indexOf(record[0]) !== -1) or null"/> + <t t-esc="record[1]"/> + </label> </div> </t> </t> |
