diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-06-06 15:43:36 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-06-06 15:43:36 +0200 |
| commit | ea92194cc6c105722c1cf93612b2e10d4ca94047 (patch) | |
| tree | b1d270ddc6679e08007971445b358a34ecc800a9 /addons/base/static/src/xml/base.xml | |
| parent | 587131e3ee418e0463ca34b9209832171fd98837 (diff) | |
[FIX] ensure only one row at a time is edited, integrate dataset index in row markup to create a more solid mapping between records and table rows in ListView.List (than checking the number of ancestors, which — it turns out — is a bit brittle when adding new rows at the front of the table
bzr revid: xmo@openerp.com-20110606134336-mmk00344x7gicd0z
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
| -rw-r--r-- | addons/base/static/src/xml/base.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index 03b33c117da..fe502231f17 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -288,7 +288,8 @@ </t-if> </t> </t> -<tr t-name="ListView.row" t-att-style="style" t-att-class="row_parity"> +<tr t-name="ListView.row" t-att-style="style" t-att-class="row_parity" + t-att-data-index="row_index"> <t t-foreach="columns" t-as="column"> <td t-if="column.meta"> |
