summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-11-14 10:20:26 +0100
committerXavier Morel <xmo@openerp.com>2011-11-14 10:20:26 +0100
commit9417544ae1c4ba4eedbcb1e3e8be86ba26659381 (patch)
treebf375886105c1c052d3c249042c4e57b4c06b057 /addons/web/static/src/xml/base.xml
parente2fbf93799e3521d24bfdd4262ba760af9e25870 (diff)
[ADD] borders to table data cells
lp bug: https://launchpad.net/bugs/849867 fixed bzr revid: xmo@openerp.com-20111114092026-dukm2lml07ngwh0o
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 846f3d1f556..55a155aaa5f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -638,7 +638,8 @@
<t t-foreach="columns" t-as="column">
<t t-set="align" t-value="column.type === 'integer' or column.type == 'float'"/>
<td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help"
- t-att-class="'oe-field-cell' + (align ? ' oe-number' : '')"
+ t-att-class="'oe-field-cell' + (align ? ' oe-number' : '')
+ + (column.tag === 'button' ? ' oe-button' : '')"
t-att-data-field="column.id">
<t t-raw="render_cell(record, column)"/>
</td>