Skip to content

Commit

Permalink
[MERGE] forward port of branch 7.0 up to 98c6e7c
Browse files Browse the repository at this point in the history
  • Loading branch information
beledouxdenis committed Oct 15, 2014
2 parents 9b17619 + 98c6e7c commit 6feb5f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/web/static/src/js/view_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -2262,7 +2262,10 @@ instance.web.form.ReinitializeWidgetMixin = {
instance.web.form.ReinitializeFieldMixin = _.extend({}, instance.web.form.ReinitializeWidgetMixin, {
reinitialize: function() {
instance.web.form.ReinitializeWidgetMixin.reinitialize.call(this);
this.view.render_value_defs.push(this.render_value());
var res = this.render_value();
if (this.view && this.view.render_value_defs){
this.view.render_value_defs.push(res);
}
},
});

Expand Down

0 comments on commit 6feb5f7

Please sign in to comment.