summaryrefslogtreecommitdiff
path: root/addons/base/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-08-24 10:53:03 +0200
committerXavier Morel <xmo@openerp.com>2011-08-24 10:53:03 +0200
commitae4d1d5e3bdaf54121bcc9f17de06f009d0075f7 (patch)
treefb809931962080ab9d378de93738d0e3abed4e6a /addons/base/static/src/xml
parent00a7458bc42f7f3f94e166cb9f656a192c4542fb (diff)
[IMP] to maintain correct synchro, listview should avoid relying on indexes as much as possible. Get rid on indexes on rows, and of List.row_position
bzr revid: xmo@openerp.com-20110824085303-6h3wggzynpic0mcz
Diffstat (limited to 'addons/base/static/src/xml')
-rw-r--r--addons/base/static/src/xml/base.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml
index 89b452a6760..879d98d15a6 100644
--- a/addons/base/static/src/xml/base.xml
+++ b/addons/base/static/src/xml/base.xml
@@ -554,12 +554,11 @@
<t t-name="ListView.rows" t-foreach="records.length" t-as="index">
<t t-call="ListView.row">
<t t-set="record" t-value="records.at(index)"/>
- <t t-set="row_index" t-value="index"/>
<t t-set="row_parity" t-value="index_parity"/>
</t>
</t>
<tr t-name="ListView.row" t-att-class="row_parity"
- t-att-data-index="row_index" t-att-data-id="record.get('id')">
+ t-att-data-id="record.get('id')">
<t t-foreach="columns" t-as="column">
<td t-if="column.meta">