Error creating invoice from settlement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openerp-icm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi, when trying to create an invoice from a salesman's settlement, I am getting the following error:
Client Traceback (most recent call last):
File "/opt/openerp-
response[
File "/opt/openerp-
action = self._call_kw(req, model, method, args, {})
File "/opt/openerp-
return getattr(
File "/opt/openerp-
result = self.proxy.
File "/opt/openerp-
result = self.session.
File "/opt/openerp-
raise xmlrpclib.
Server Traceback (most recent call last):
File "/opt/openerp-
return openerp.
File "/opt/openerp-
result = ExportService.
File "/opt/openerp-
res = fn(db, uid, *params)
File "/opt/openerp-
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp-
return f(self, dbname, *args, **kwargs)
File "/opt/openerp-
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp-
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp-
journal_
File "/opt/openerp-
invoices_agent = agents_
File "/opt/openerp-
self.
ValueError: too many values to unpack
In our case, the problem is probably caused because get_address_invoice is returning three values and only two of them (address_
address_contact_id, address_invoice_id = \
This problem has been found using v7.0.
Thank you very much for your time.
Related branches
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 33 lines (+4/-4)1 file modifiedsale_commission/settled.py (+4/-4)
Hi, Javier
Have you solved this issue ?
Thanks
Kenny