Buongiorno a tutti,
stavo provando questo modulo
github.com/eLBati/l10n-italy/tree/hurrifix-8.0-ddt per generare i DDT.
Partendo da un ordine di consegna fino ad arrivare al DDT funziona tutto!
L'unico problema è quando dal DDT appena generato voglio creare la FT.
Clicco il bottone "Altro" - "Crea fattura", mi si apre un wizard in cui devo inserire il Sezionale e la data...Creo la fattura e il risultato è questo...
Traceback (most recent call last):
File "/home/anna/lp8/odoo/openerp/http.py", line 530, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/anna/lp8/odoo/openerp/http.py", line 567, in dispatch
result = self._call_function(**self.params)
File "/home/anna/lp8/odoo/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/anna/lp8/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/home/anna/lp8/odoo/openerp/http.py", line 300, in checked_call
return self.endpoint(*a, **kw)
File "/home/anna/lp8/odoo/openerp/http.py", line 796, in __call__
return self.method(*args, **kw)
File "/home/anna/lp8/odoo/openerp/http.py", line 396, in response_wrap
response = f(*args, **kw)
File "/home/anna/lp8/odoo/addons/web/controllers/main.py", line 953, in call_button
action = self._call_kw(model, method, args, {})
File "/home/anna/lp8/odoo/addons/web/controllers/main.py", line 941, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/anna/lp8/odoo/openerp/api.py", line 241, in wrapper
return old_api(self, *args, **kwargs)
File "/home/anna/lp8/odoo/openerp/api.py", line 363, in old_api
result = method(recs, *args, **kwargs)
File "/home/anna/lp8/odoo/addons/l10n_it_ddt/wizard/ddt_create_invoice.py", line 104, in create_invoice
'parcels': ddts[0].parcels,
File "/home/anna/lp8/odoo/openerp/api.py", line 239, in wrapper
return new_api(self, *args, **kwargs)
File "/home/anna/lp8/odoo/openerp/api.py", line 546, in new_api
result = method(self._model, cr, uid, self.ids, *args, **kwargs)
TypeError: write() got multiple values for keyword argument 'context'
Mi manca qualche passaggio?
Grazie