← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 856388] [NEW] issues with partial delivery

 

Public bug reported:

delivery lines are duplicated and when you want to edit one line, there
is a bug

- create a so with 2 lines (sell 6 product 1 and 10 product 2)
- confirm it and click on the log "delivery .." 
-- force or check availability
- process it 
-> lines are duplicated (already reported i think)
-> t try to edit one line in order to edit the quantity : bug 
Client Traceback (most recent call last):
  File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 169, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 656, in get
    return self.do_get(req, model, ids, fields)
  File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 678, in do_get
    records = Model.read(ids, fields, req.session.eval_context(req.context))
  File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 339, in proxy
    *args)
  File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 216, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 93, in send
    return getattr(service, method)(*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 759, in dump_array
    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

** Affects: openerp-web
     Importance: Undecided
         Status: New

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

Title:
  issues with partial delivery

Status in OpenERP Web:
  New

Bug description:
  delivery lines are duplicated and when you want to edit one line,
  there is a bug

  - create a so with 2 lines (sell 6 product 1 and 10 product 2)
  - confirm it and click on the log "delivery .." 
  -- force or check availability
  - process it 
  -> lines are duplicated (already reported i think)
  -> t try to edit one line in order to edit the quantity : bug 
  Client Traceback (most recent call last):
    File "/home/aline/openerp/web/openerp-web/addons/web/common/dispatch.py", line 169, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 656, in get
      return self.do_get(req, model, ids, fields)
    File "/home/aline/openerp/web/openerp-web/addons/web/controllers/main.py", line 678, in do_get
      records = Model.read(ids, fields, req.session.eval_context(req.context))
    File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 339, in proxy
      *args)
    File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 216, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/openerp/web/openerp-web/addons/web/common/openerplib/main.py", line 93, in send
      return getattr(service, method)(*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 759, in dump_array
      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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/856388/+subscriptions


Follow ups

References