[imp] improved status widget templates behavior
bzr revid: nicolas.vanhoren@openerp.com-20110908150932-kfyot4ivb6auhnod
This commit is contained in:
parent
c5ac762b20
commit
e63c4a5fea
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue