unable to call obj_list method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP's Framework R&D |
Bug Description
see the traceback below
In [31]: import rpc
In [32]: rpc.initialize(
In [33]: rpc.session.
Out[33]: 1
In [34]: rpc.session.
-------
TinyError Traceback (most recent call last)
/home/.
/home/.
353 raise common.
354
--> 355 return self.gateway.
356
357 def execute_
/home/.
151 @return: the result of the method
152 """
--> 153 return self.__execute(obj, method, args)
154
155 def execute_
/home/.
137 raise common.
138 else:
--> 139 raise common.
140
141 except Exception, e:
/home/.
70
71 def error(title, msg, details=None):
---> 72 raise TinyError(
73
74 def warning(msg, title=None):
TinyError: Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
TypeError: obj_list() takes exactly 1 argument (3 given)
Related branches
description: | updated |
Changed in openobject-server: | |
status: | New → Confirmed |
On Tuesday 07 September 2010, you wrote: 'localhost' ,8069,' http',{ }) login(' trunk', 'admin' ,'admin' ) execute( 'object' ,'obj_list' )
> Public bug reported:
>
> see the traceback below
> In [31]: import rpc
> In [32]: rpc.initialize(
> In [33]: rpc.session.
> Out[33]: 1
> In [34]: rpc.session.
Yes, this method had been broken ever since the refactoring of RPC.
I had written a patch in my trunk-pg84 that fixes it, but had to get some
feedback before altering this functionality at trunk:
http:// git.hellug. gr/?p=xrg/ openobject- a=commit; h=d4129a2f8ce3f 5552f0539
server;