diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-06-03 12:31:00 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-06-03 12:31:00 +0200 |
| commit | 6037c0a65041b023f08cbd4474fd7d41a1e7c048 (patch) | |
| tree | a7b543ff284760260d0453a2edaaeac3c660b77a /addons/base/static/src/xml | |
| parent | a2ba109315b2d2c5ed2ff8668658c54a30bb20c6 (diff) | |
[ADD] basic overriding of WidgetFrame template: remove <table> and <tr> display levels
bzr revid: xmo@openerp.com-20110603103100-c0di95c1z5rd1ogh
Diffstat (limited to 'addons/base/static/src/xml')
| -rw-r--r-- | addons/base/static/src/xml/base.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index cbd3853a08f..d40ed614176 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -790,4 +790,19 @@ <button type="button" class="oe_many2xselectpopup-form-save">Save</button> <button type="button" class="oe_many2xselectpopup-form-close">Close</button> </t> + +<t t-name="ListView.row.frame" t-extend="WidgetFrame"> + <t t-jquery="tr"> + $(document.createElement('t')) + .append(this.contents()) + .attr({ + 't-foreach': this.attr('t-foreach'), + 't-as': this.attr('t-as') + }) + .replaceAll(this) + .before($(document.createElement('td'))) + .after($(document.createElement('td'))) + .unwrap(); + </t> +</t> </templates> |
