[fix] fix in the model helper
bzr revid: nicolas.vanhoren@openerp.com-20110902155949-29mhv0d8rnl0dzkt
This commit is contained in:
@@ -747,7 +747,7 @@ openerp.base.Model = openerp.base.SessionAware.extend({
|
||||
return function() {
|
||||
if (method_name == "search_read")
|
||||
return self._search_read.apply(self, arguments);
|
||||
return self._call(method_name, arguments);
|
||||
return self._call(method_name, _.toArray(arguments));
|
||||
};
|
||||
},
|
||||
_call: function (method, args) {
|
||||
|
||||
Reference in New Issue
Block a user