[fix] forgot some things
bzr revid: nicolas.vanhoren@openerp.com-20111010124516-5vtzop9sbr5z78r0
This commit is contained in:
parent
1b1c43103a
commit
fa9df495ef
|
@ -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) {
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue