← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681773] Re: Regression on Delivery module: 'active_id' can cause error on context for a new unsaved record.

 

** Branch linked: lp:openobject-addons/5.0

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/681773

Title:
  Regression on Delivery module: 'active_id' can cause error on context for a new unsaved record.

Status in OpenObject Addons Modules:
  Won't Fix
Status in OpenObject Addons 5.0 series:
  Fix Released
Status in OpenObject Addons trunk series:
  Confirmed

Bug description:
  In v5.0.15, I installed the delivery module. Then I clicked in new Sale Order. 

If I go to the Other data tab and click in the binoculars in order to select a Delivery Method, the following error is shown in the client:

bzr: ERROR: Not a branch: "/openerp/openerp-client/bin/".
No LSB modules are available.
ERROR:common.message:Message Ver detalles: 
Environment Information : 
System : Linux-2.6.32-25-generic-pae-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.1 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-25-generic-pae
Operating System Version : #44-Ubuntu SMP Fri Sep 17 21:57:48 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : es_ES.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.15
Last revision No. & ID :Bazaar Package not Found !cannot marshal None unless allow_none is enabled
Traceback (most recent call last):
  File "/openerp/openerp-client/bin/widget/view/form_gtk/many2one.py", line 246, in sig_find
    ids = rpc.session.rpc_exec_auth('/object', 'execute', self.attrs['relation'], 'name_search', name_search, domain, 'ilike', context)
  File "/openerp/openerp-client/bin/rpc.py", line 170, in rpc_exec_auth
    return sock.exec_auth(method, *args)
  File "/openerp/openerp-client/bin/rpc.py", line 84, in exec_auth
    res = self.execute(method, self._uid, self._passwd, *args)
  File "/openerp/openerp-client/bin/rpc.py", line 102, in execute
    result = getattr(self._sock,method)(self._db, *args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1483, in __request
    allow_none=self.__allow_none)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1132, in dumps
    data = m.dumps(params)
  File "/usr/lib/python2.6/xmlrpclib.py", line 677, in dumps
    dump(v, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 780, in dump_struct
    dump(v, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 699, in __dump
    f(self, value, write)
  File "/usr/lib/python2.6/xmlrpclib.py", line 703, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled

Any ideas?





References