[fix] forgot some things

bzr revid: nicolas.vanhoren@openerp.com-20111010124516-5vtzop9sbr5z78r0
This commit is contained in:
niv-openerp 2011-10-10 14:45:16 +02:00
parent 1b1c43103a
commit fa9df495ef
2 changed files with 3 additions and 4 deletions

View File

@ -731,7 +731,7 @@ openerp.web.ProxyDataSet = openerp.web.DataSetSearch.extend({
if (this.read_function) {
return this.read_function.apply(null, arguments);
} else {
this._super.apply(this, arguments);
return this._super.apply(this, arguments);
}
},
default_get: function(fields, callback) {

View File

@ -11,7 +11,6 @@ openerp.web.FormView = openerp.web.View.extend( /** @lends openerp.web.FormView#
*/
searchable: false,
form_template: "FormView",
identifier_prefix: 'formview-',
/**
* @constructs openerp.web.FormView
* @extends openerp.web.View
@ -2079,9 +2078,9 @@ openerp.web.form.One2ManyListView = openerp.web.ListView.extend({
self.o2m.dataset.on_change();
}).then(callback, error_callback);
},
/*read_function: function() {
read_function: function() {
return self.o2m.dataset.read_ids.apply(self.o2m.dataset, arguments);
},*/
},
parent_view: self.o2m.view,
form_view_options: {'not_interactible_on_create':true}
}, self.o2m.build_domain(), self.o2m.build_context());