Buon giorno, ho generato 4 fatture correttamente, oggi volevo generare la 5 ma ricevo questo errore che non riesco a capire:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 334, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 327, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 942, in __call__
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 507, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 899, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 887, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/oia10/l10n-italy/l10n_it_einvoice_out/wizard/wizard_export_fatturapa.py", line 716, in exportFatturaPA
attach = self.saveAttachment(fatturapa, number)
File "/opt/odoo/oia10/l10n-italy/l10n_it_einvoice_out/wizard/wizard_export_fatturapa.py", line 70, in saveAttachment
'datas': base64.encodestring(fatturapa.toxml("UTF-8")),
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 541, in toxml
dom = self.toDOM(bds, element_name=element_name)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 513, in toDOM
self._toDOM_csc(bds, element)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 2661, in _toDOM_csc
content.elementDeclaration.toDOM(dom_support, parent, content.value)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/content.py", line 1101, in toDOM
value._toDOM_csc(dom_support, element)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 2661, in _toDOM_csc
content.elementDeclaration.toDOM(dom_support, parent, content.value)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/content.py", line 1101, in toDOM
value._toDOM_csc(dom_support, element)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 2661, in _toDOM_csc
content.elementDeclaration.toDOM(dom_support, parent, content.value)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/content.py", line 1101, in toDOM
value._toDOM_csc(dom_support, element)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 2647, in _toDOM_csc
order = self._validatedChildren()
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/basis.py", line 2174, in _validatedChildren
return self.__automatonConfiguration.sequencedChildren()
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/content.py", line 638, in sequencedChildren
cfg = self._diagnoseIncompleteContent(symbols, symbol_set)
File "/usr/local/lib/python2.7/dist-packages/pyxb/binding/content.py", line 493, in _diagnoseIncompleteContent
raise pyxb.IncompleteElementContentError(self.__instance, cfg, symbols, symbol_set)
IncompleteElementContentError: (<odoo.addons.l10n_it_ade.bindings.fatturapa_v_1_2.IscrizioneREAType object at 0x7ffb3edea490>, <pyxb.utils.fac.Configuration object at 0x7ffb3edea0d0>, [<pyxb.binding.basis.ElementContent object at 0x7ffb56a08f50>, <pyxb.binding.basis.ElementContent object at 0x7ffb3eeb7c50>], {})