[imp] improved status widget templates behavior

bzr revid: nicolas.vanhoren@openerp.com-20110908150932-kfyot4ivb6auhnod
This commit is contained in:
niv-openerp 2011-09-08 17:09:32 +02:00
parent c5ac762b20
commit e63c4a5fea
2 changed files with 3 additions and 2 deletions

View File

@ -2489,7 +2489,8 @@ openerp.web.form.FieldStatus = openerp.web.form.Field.extend({
this.render_list();
},
render_list: function() {
this.$element.html("Youpsla");
var content = openerp.web.qweb.render("FieldStatus.content", {});
this.$element.html(content);
}
});

View File

@ -1381,6 +1381,6 @@
<div t-att-id="widget.element_id"></div>
</t>
<t t-name="FieldStatus.content">
Je suis un gentil poulet.
</t>
</templates>