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

Aceptar / Rechazar Documentos

Avatar
Method Erp Spa

Buenas tardes, estoy utilizando el modulo l10n_cl_fe version 11.0.0.21.9, cuando trato de aceptar un dte recibido envía el siguiente error:  


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 653, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 312, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 695, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 344, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 337, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 939, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 517, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 938, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 926, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 699, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 690, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/opt/odoo/addons/l10n_cl_fe/models/mail_message_dte_document.py", line 220, in accept_document
    resp = val.confirm(ret=True)
  File "/opt/odoo/addons/l10n_cl_fe/wizard/upload_xml.py", line 101, in confirm
    created = self.do_create_inv()
  File "/opt/odoo/addons/l10n_cl_fe/wizard/upload_xml.py", line 995, in do_create_inv
    wiz_accept.confirm()
  File "/opt/odoo/addons/l10n_cl_fe/wizard/validar.py", line 93, in confirm
    self.do_receipt()
  File "/opt/odoo/addons/l10n_cl_fe/wizard/validar.py", line 180, in do_receipt
    claim.do_recep_mercaderia()
  File "/opt/odoo/addons/l10n_cl_fe/models/sii_dte_claim.py", line 270, in do_recep_mercaderia
    resp = fe.recepcion_mercaderias(datos)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/facturacion_electronica.py", line 347, in recepcion_mercaderias
    resp = Envio(vals)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/envio.py", line 21, in __init__
    util.set_from_keys(self, vals, priorizar=['Emisor', 'firma_electronica'])
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/clase_util.py", line 22, in set_from_keys
    setattr(obj, p, val)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/envio.py", line 108, in Emisor
    self._emisor.set_from_keys(vals)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/emisor.py", line 12, in set_from_keys
    util.set_from_keys(self, vals)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/clase_util.py", line 30, in set_from_keys
    setattr(obj, k, v)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/emisor.py", line 82, in FchResol
    self._fch_resol = util.get_fecha(val)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/clase_util.py", line 83, in get_fecha
    _fecha = _get_fecha(val, f)
  File "/usr/local/lib/python3.6/dist-packages/facturacion_electronica/clase_util.py", line 76, in _get_fecha
    date = fecha.replace('/', '-')
AttributeError: 'bool' object has no attribute 'replace'
2 Comentarios
Avatar
Descartar

hola!

1.- parece que no está configurada la resolución de la empresa emisora

2.- actualizar a la última versión de mis módulos

Avatar
OdooBot
-

michas gracias, no habia ingresado la resolución


Cesar A. Ocampo M.




De: Daniel Santibáñez Polanco <dsantibanez@globalresponse.cl>
Enviado: miércoles, 1 de julio de 2020 2:54
Para: Cesar Ocampo <cesar250101@outlook.com>
Asunto: Re: Aceptar / Rechazar Documentos
 

hola!

1.- parece que no está configurada la resolución de la empresa emisora

2.- actualizar a la última versión de mis módulos

Daniel Santibáñez Polanco


Enviado por Daniel Alejandro Santibanez Polanco usando Odoo.