summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-08-29 14:44:48 +0200
committerMartin Trigaux <mat@openerp.com>2013-08-29 14:44:48 +0200
commit78c82fc0c656ab579593a600b52c3362b0dded7d (patch)
tree2f86d3db68f2c7cfb30745f0ec7b6a716f0ed797 /addons/web/static/src/xml
parentcbad29493e4109cc7a4bba7945012f1441cfa7c6 (diff)
[FIX] tree views: rename variable parent-id to avoid conflicts with record fields name (eg: account.account)
bzr revid: mat@openerp.com-20130829124448-xr89v0gsuoukqhao
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 470c6e83d07..c5bc624c2b1 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -685,7 +685,7 @@
t-foreach="records" t-as="record"
t-att-id="'treerow_' + record.id"
t-att-data-id="record.id" t-att-data-level="level + 1"
- t-att-data-parent-id="parent_id">
+ t-att-data-row-parent-id="row_parent_id">
<t t-set="children" t-value="record[children_field]"/>
<t t-set="class" t-value="children and children.length ? 'treeview-tr' : 'treeview-td'"/>
<t t-set="rank" t-value="'oe-treeview-first'"/>