diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-02-02 14:48:31 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-02-02 14:48:31 +0100 |
| commit | 2611a8198eaac60cf424742e4dc411700e439352 (patch) | |
| tree | 64b4c0c2cbbf6199995b3f5db5e213d6813ab830 /addons/web/static/src/xml | |
| parent | 7e44ddcda3f21c7e6401173539dc0fe93f9a7dd2 (diff) | |
| parent | e765569d04766ca005484c4746faeb08bd917446 (diff) | |
[MERGE] forward port of branch saas-7 up to e765569
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> |
