Francesco, This is more like an issue of the module.
Please make sure the button's call is not returning None(the method it calls). Thanks. -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server. https://bugs.launchpad.net/bugs/1017508 Title: TypeError: cannot marshal None unless allow_none is enabled Status in OpenERP Server: New Bug description: Hi all, i'm trying to port a module for OpenERP 6.0.x on a 6.1 installation. When i click on create button in the tree views i receive this message: Server Traceback (most recent call last): File "/home/openerp/openerp-6.1/server/openerp/wsgi/core.py", line 80, in xmlrpc_return response = xmlrpclib.dumps((result,), methodresponse=1, allow_none=False, encoding=None) File "/usr/lib/python2.7/xmlrpclib.py", line 1085, in dumps data = m.dumps(params) File "/usr/lib/python2.7/xmlrpclib.py", line 632, in dumps dump(v, write) File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump f(self, value, write) File "/usr/lib/python2.7/xmlrpclib.py", line 735, in dump_struct dump(v, write) File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump f(self, value, write) File "/usr/lib/python2.7/xmlrpclib.py", line 658, in dump_nil raise TypeError, "cannot marshal None unless allow_none is enabled" TypeError: cannot marshal None unless allow_none is enabled If I edit the file /home/openerp/openerp-6.1/server/openerp/wsgi/core.py at line 80 with this line: response = xmlrpclib.dumps((result,), methodresponse=1, allow_none=True, encoding=None) all work fine! Why are you choose to set allow_none to False? Is possibile to set it on True? It's a bug? Thanks, Francesco. To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-server/+bug/1017508/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

