[FIX] QWeb template inheritance done right

bzr revid: fme@openerp.com-20120201122926-poh3q2157ra9tzjd
This commit is contained in:
Fabien Meghazi
2012-02-01 13:29:26 +01:00
parent a6be92b62b
commit 0839b0e4ee
2 changed files with 7 additions and 30 deletions
+3 -4
View File
@@ -680,10 +680,9 @@
<t t-jquery="td.oe-actions">
this.removeAttr('t-if');
var $title = $(document.createElement('h3')).addClass('oe_view_title');
$title.append($(document.createElement('t')).attr(
't-esc', 'fields_view.arch.attrs.string'));
this.prepend($title);
</t>
<t t-jquery="td.oe-actions" t-operation="prepend">
<h3 class="oe_view_title"><t t-esc="fields_view.arch.attrs.string"/></h3>
</t>
</t>
<th t-name="Listview.navigation.button" t-if="!no_leaf and options.pager !== false"