[IMP] Initial commit for tree view.

bzr revid: bth@tinyerp.com-20110607063830-1jxny52yhjd42w5y
This commit is contained in:
Bhumi Thakkar (Open ERP)
2011-06-07 12:08:30 +05:30
parent 514db0be98
commit f75ac6d8f2
+2
View File
@@ -228,6 +228,8 @@
</tr>
</table>
</t>
<table t-name="TreeView">
</table>
<table t-name="ListView">
<t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/>
<t t-set="actions_span" t-value="Math.floor((options.deletable or options.addable) ? columns_count/2 : 0)"/>