Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
add empty parameter set when retrieving default values
Browse files Browse the repository at this point in the history
this is needed for, e.g., delivery.sale.order
  • Loading branch information
tgpfeiffer committed Sep 23, 2012
1 parent f63fb56 commit 81f15fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restfulOpenErpProxy.py
Expand Up @@ -186,7 +186,7 @@ def __updateDefaults(self, uid, pwd):
if not self.defaults:
# update type description
proxy = Proxy(self.openerpUrl + 'object')
d = proxy.callRemote('execute', self.dbname, uid, pwd, self.model, 'default_get', self.desc.keys())
d = proxy.callRemote('execute', self.dbname, uid, pwd, self.model, 'default_get', self.desc.keys(), {})
d.addCallback(self.__handleDefaultsAnswer, uid)
return d
else:
Expand Down

0 comments on commit 81f15fd

Please sign in to comment.