← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681773] Re: error in sale order form after installing delivery module

 

Hello Jay,

It happened to me with a fresh install with minimal profile after adding
the modules needed for the company, mainly: HR, CRM, sales, purchases,
accounting, payments, analytic accounting, point of sale, document,
stock and delivery.

If I enter a partner I can select the delivery method without any
problem.

However, if I go to Sales Management->Sales Order->New Quotation,
whenever I click in the button that has a binocular to open the list of
delivery methods (in the right of the Delivery Method text box in the
Other Data tab), it crashes.

If I select a partner that has a delivery method set and then I go to
the Other Data tab, I can see the name of the delivery method in the
Delivery Method text box without any problem. However If I try to open
the Delivery Method with the first button at the right, it crashes with
the same message.

However, today I have found something that may help you to find the bug.
If I save the new quotation and then try to open the delivery method or
use the other button to get the list of delivery methods it works fine.
So, the bug appears to be present only when the quotation is not saved.

Please help me as an implementation without the delivery module working
is useless.

-- 
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:
  error in sale order form after installing delivery module

Status in OpenObject Addons Modules:
  Won't Fix

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