[fix] fix in the model helper

bzr revid: nicolas.vanhoren@openerp.com-20110902155949-29mhv0d8rnl0dzkt
This commit is contained in:
niv-openerp
2011-09-02 17:59:49 +02:00
parent ae91f6400b
commit 32441da020
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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) {