[fix] small problem with o2m
bzr revid: nicolas.vanhoren@openerp.com-20120516130510-fdgu46p1fe8zqu2e
This commit is contained in:
parent
ab21c9ac81
commit
8c4fad6beb
|
@ -3385,7 +3385,7 @@ instance.web.form.AbstractFormPopup = instance.web.OldWidget.extend({
|
|||
};
|
||||
this.dataset.write_function = function(id, data, options, sup) {
|
||||
var fct = self.options.write_function || sup;
|
||||
return sup.call(this, id, data, options).then(self.on_write_completed);
|
||||
return fct.call(this, id, data, options).then(self.on_write_completed);
|
||||
};
|
||||
this.dataset.parent_view = this.options.parent_view;
|
||||
this.dataset.child_name = this.options.child_name;
|
||||
|
|
Loading…
Reference in New Issue