clicking on server action list view results error....

Bug #308092 reported by Naresh(OpenERP)
4
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Mantavya Gajjar (Open ERP)

Bug Description

when i create a new database and install a profile say manufacturing industry profile and now after creating the database when i go to administration/customization/Actions/server actions and click on it gives me this error....
there is no traceback at server side...
client side traceback :
********************
ERROR:common.message:Message 1: exceptions.TypeError:cannot marshal None unless allow_none is enabled
Traceback (most recent call last):
  File "/home/nch/openERP/latest/client/bin/modules/gui/window/tree.py", line 194, in sig_open
    if not self.sig_action(widget, 'tree_but_open', warning=False):
  File "/home/nch/openERP/latest/client/bin/modules/gui/window/tree.py", line 188, in sig_action
    warning=warning)
  File "/home/nch/openERP/latest/client/bin/modules/action/main.py", line 182, in exec_keyword
    self._exec_action(action, data, context=context)
  File "/home/nch/openERP/latest/client/bin/modules/action/main.py", line 128, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'])
  File "/home/nch/openERP/latest/client/bin/modules/gui/window/__init__.py", line 51, in create
    auto_refresh=auto_refresh)
  File "/home/nch/openERP/latest/client/bin/modules/gui/window/form.py", line 77, in __init__
    window=self.window, limit=limit, readonly=bool(auto_refresh))
  File "/home/nch/openERP/latest/client/bin/widget/screen/screen.py", line 100, in __init__
    self.display()
  File "/home/nch/openERP/latest/client/bin/widget/screen/screen.py", line 535, in display
    show_search=self.show_search and vt in ('tree', 'graph'),
  File "/home/nch/openERP/latest/client/bin/widget/screen/screen.py", line 118, in search_active
    self.context)
  File "/home/nch/openERP/latest/client/bin/rpc.py", line 170, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/home/nch/openERP/latest/client/bin/rpc.py", line 84, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/home/nch/openERP/latest/client/bin/rpc.py", line 102, in execute
    result = getattr(self._sock,method)(self._db, *args)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
    return u.close()
  File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'exceptions.TypeError:cannot marshal None unless allow_none is enabled'>

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

seems working for me, the same procedure, after doing the same steps, as described

Changed in openobject-server:
status: New → Fix Committed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

hello sir,

when i am using xml-rpc it generates error but using net-rpc is working fine

regards,
Naresh choksy

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote :

Where is the fix for this bug ?

XML-RPC does not support the None value except if you specify allow_none.

Changed in openobject-server:
status: Fix Committed → Fix Released
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

yes naresh,

i check, it works for the net-rpc byt problem with the xml-rpc

it will be fixed soon

Changed in openobject-server:
assignee: nobody → mga
status: Fix Released → In Progress
Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

Bug-fixed for the xml-rpc
now it works with the xml-rpc too :)

Changed in openobject-server:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.