diff options
Diffstat (limited to 'addons/web/static/src/xml/pivot.xml')
| -rw-r--r-- | addons/web/static/src/xml/pivot.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/pivot.xml b/addons/web/static/src/xml/pivot.xml index bfc08e56bd1..0b16af71f0c 100644 --- a/addons/web/static/src/xml/pivot.xml +++ b/addons/web/static/src/xml/pivot.xml @@ -37,6 +37,12 @@ o_negative: cell.value < 0, o_null: cell.value === 0, }" t-esc="_getFormattedVariation(cell)"/> + <div t-elif="props.fields and props.fields[cell.measure].type === 'boolean'" class="o_value"> + <div class="custom-control custom-checkbox"> + <input type="checkbox" t-attf-id="checkbox_{{cell_index}}_{{row_index}}" disabled="disabled" t-att-checked="cell.value" class="custom-control-input"/> + <label t-attf-for="checkbox_{{cell_index}}_{{row_index}}" class="custom-control-label"/> + </div> + </div> <div t-else="1" class="o_value" t-esc="_getFormattedValue(cell)"/> </t> </td> |
