Project

General

Profile

Errores #998

Falla al actualizar datos desde el padrón de AFIP

Added by Martin Andres Gomez Gimenez 25 days ago. Updated 25 days ago.

Status:
Nueva
Priority:
Alta
Category:
odoo-11.0
Start date:
11/18/2019
Due date:
% Done:

0%

Estimated time:

Description

Resumen

Al intentar actualizar los datos desde el padrón de AFIP se produce un error.

Pasos para reproducir el error

Instalación de módulos

Deberán estar instalados los siguiente módulos:

  • l10n_ar_base
  • l10n_ar_chart

Actualizar los datos del padrón

Para actualizar los datos desde el padrón de la AFIP, es necesario acceder a Facturación --> Ajustes --> Refrescar datos del Padron AFIP y desde allí selaccionar una de las siguientes opciones:

  • Actividades
  • Impuestos
  • Conceptos

Error producido

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 653, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 312, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib64/python3.6/site-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 695, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 344, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 337, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 939, in __call__
    return self.method(*args, **kw)
  File "/usr/lib64/python3.6/site-packages/odoo/http.py", line 517, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib64/python3.6/site-packages/odoo/addons/web/controllers/main.py", line 938, in call_button
    action = self._call_kw(model, method, args, {})
  File "/usr/lib64/python3.6/site-packages/odoo/addons/web/controllers/main.py", line 926, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib64/python3.6/site-packages/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/usr/lib64/python3.6/site-packages/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/var/lib/odoo/.local/share/Odoo/addons/11.0/l10n_ar_account/wizard/res_config_settings.py", line 47, in refresh_taxes_from_padron
    self.refresh_from_padron("impuestos")
  File "/var/lib/odoo/.local/share/Odoo/addons/11.0/l10n_ar_account/wizard/res_config_settings.py", line 72, in refresh_from_padron
    padron = PadronAFIP()
  File "/usr/lib64/python3.6/site-packages/pyafipws/padron.py", line 100, in __init__
    self.db = sqlite3.connect(self.db_path)
sqlite3.OperationalError: unable to open database file

Related issues

Blocks Odoo - Tareas #994: Nueva versión =app-odoo/l10n_ar-11.0.20191102Nueva11/10/2019

History

#1 Updated by Martin Andres Gomez Gimenez 25 days ago

  • Blocks Tareas #994: Nueva versión =app-odoo/l10n_ar-11.0.20191102 added

#2 Updated by Martin Andres Gomez Gimenez 25 days ago

  • Priority changed from Normal to Alta

Also available in: Atom PDF