diff options
| author | Hiral Bhavsar <hbh@odoo.com> | 2018-08-07 15:31:37 +0530 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-08-17 12:46:14 +0200 |
| commit | b0c4245df7aa0f0e1870b53eadd63af53f71b3f2 (patch) | |
| tree | 52be1f2153870f19d71e40d8953e89942658271f /addons/web/static | |
| parent | 4895b542e41e625835bb4f1350627af90804df28 (diff) | |
[FIX] web: BS4, restore calendar view's sidebar filters checkbox
Currently cross sign not appearing inline to checkbox while hovering
sidebar filters and checkbox tick/untick not working properly.
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/xml/web_calendar.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml index 3f32dcbd173..ef2fa72e58d 100644 --- a/addons/web/static/src/xml/web_calendar.xml +++ b/addons/web/static/src/xml/web_calendar.xml @@ -40,13 +40,14 @@ <h3 t-if="widget.title"><t t-esc="widget.title"/></h3> <div class="o_calendar_filter_items"> <div t-foreach="widget.filters" t-as="filter" t-if="filter.display == null || filter.display" class="o_calendar_filter_item" t-att-data-value="filter.value" t-att-data-id="filter.id"> - <div class="custom-control custom-checkbox"> + <t t-set="id_for_label" t-value="_.uniqueId('o_calendar_filter_item_')"/> + <div class="custom-control custom-control-inline custom-checkbox"> <input type="checkbox" - t-attf-id="o_calendar_filter_item_#{filter_index}" + t-att-id="id_for_label" name="selection" class="custom-control-input" t-att-checked="(filter.active ? true : undefined)"/> - <label t-attf-for="o_calendar_filter_item_#{filter_index}" + <label t-att-for="id_for_label" class="custom-control-label"> <t t-if="filter.value == 'all'"> <span><i class="fa fa-users fa-fw o_cal_avatar" role="img" aria-label="Avatar" title="Avatar"/></span> |
