3
0
Fork 0

Merge pull request #339 from acsone/8.0-fix-option-auto-color-ms-edge-ape

[FIX][web_option_auto_color] Compatibility with MS Browsers.
8.0
Pedro M. Baeza 2016-04-28 09:02:59 +02:00
commit 15ab6006d9
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<tr t-extend="ListView.row">
<t t-jquery="td[t-att-data-field='column.id']">
this.attr('t-att-style', "column.autocolor == '1' and view.auto_color_cell_style(render_cell(record, column), column)")
<t t-jquery="td[t-att-data-field='column.id']" t-operation="attributes">
<attribute name="t-att-style">column.autocolor == '1' and view.auto_color_cell_style(render_cell(record, column), column)</attribute>
</t>
</tr>
</templates>