Ayuda

¡Bienvenido!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Error al Validar factura/boleta odoo11 Debian11

Avatar
Arid Tools

Estimado.

Primero que todo agradecer el disponer de esta herramienta de forma gratuita.

El siguiente error aparece al validar una factura: Obviamente al validar una boleta el error corresponde a la ruta de la aplicacion de boleta electronica:

Error:

Odoo Server Error


Traceback (most recent call last):

  File "/opt/odoo/server/odoo/http.py", line 653, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/opt/odoo/server/odoo/http.py", line 312, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/opt/odoo/server/odoo/tools/pycompat.py", line 87, in reraise

    raise value

  File "/opt/odoo/server/odoo/http.py", line 695, in dispatch

    result = self._call_function(**self.params)

  File "/opt/odoo/server/odoo/http.py", line 344, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/opt/odoo/server/odoo/service/model.py", line 97, in wrapper

    return f(dbname, *args, **kwargs)

  File "/opt/odoo/server/odoo/http.py", line 337, in checked_call

    result = self.endpoint(*a, **kw)

  File "/opt/odoo/server/odoo/http.py", line 939, in __call__

    return self.method(*args, **kw)

  File "/opt/odoo/server/odoo/http.py", line 517, in response_wrap

    response = f(*args, **kw)

  File "/opt/odoo/server/addons/web/controllers/main.py", line 939, in call_button

    action = self._call_kw(model, method, args, {})

  File "/opt/odoo/server/addons/web/controllers/main.py", line 927, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/opt/odoo/server/odoo/api.py", line 699, in call_kw

    return call_kw_multi(method, model, args, kwargs)

  File "/opt/odoo/server/odoo/api.py", line 690, in call_kw_multi

    result = method(recs, *args, **kwargs)

  File "/opt/odoo/server/addons/account/models/account_invoice.py", line 814, in action_invoice_open

    return to_open_invoices.invoice_validate()

  File "/opt/odoo/server/extra-addons/l10n_cl_stock_picking/models/account_invoice.py", line 67, in invoice_validate

    result  = super(PickingToInvoiceD, self).invoice_validate()

  File "/opt/odoo/server/extra-addons/l10n_cl_fe/models/account_invoice.py", line 1074, in invoice_validate

    inv._timbrar()

  File "/opt/odoo/server/extra-addons/l10n_cl_fe/models/account_invoice.py", line 1713, in _timbrar

    'sii_xml_dte': result[0]['sii_xml_dte'],

KeyError: 'sii_xml_dte'

Saludos.

Avatar
Descartar
1 Respuesta
0
Mejor respuesta

esta versión ya está obsoleta, sin embargo faltan partes del error para saber de qué se trata, ya que por alguna razón no se está timbrando

Avatar
Descartar