[FIX] same signature change as xmo@openerp.com-20110908111024-qfr6xlrw9ecy7m6y, but on ReadOnlyDataSetSearch

bzr revid: xmo@openerp.com-20110908111136-fa8hm5t1q5vxjb9i
This commit is contained in:
Xavier Morel
2011-09-08 13:11:36 +02:00
parent ea6e7c4be4
commit b7ccdadc17
+1 -1
View File
@@ -721,7 +721,7 @@ openerp.web.ReadOnlyDataSetSearch = openerp.web.DataSetSearch.extend({
return to_return.promise();
},
on_create: function(data) {},
write: function (id, data, callback) {
write: function (id, data, options, callback) {
this.on_write(id, data);
var to_return = $.Deferred().then(callback);
setTimeout(function () {to_return.resolve({"result": true});}, 0);