Foro de Odoo Argentina


¡BIENVENIDO AL FORO DE ODOO ARGENTINA!

BRINDAMOS UN ESPACIO A LA COMUNIDAD ARGENTINA DE ODOO PARA CENTRALIZAR EL DEBATE, COMPARTIR IDEAS, DESARROLLOS, Y FORMAR PARTE DE UNA COMUNIDAD QUE CRECE DÍA A DÍA

¿No estás registrado?  REGISTRATE

0

Error al querer instalar bancos argentinos (por ejemplo)

Avatar
Gabriel Czerniecki

Hola, estoy intentando reinstalar todo denuevo sin docker.

He instalado odoo 8 sin problemas, y meti los repos de odoo-argentina, baje desde git los repos odoo-addons, odoo-argentina y aeroo_reports, voy a la lista de modulos, la actualizo y veo los modulos de adhoc sin problemas...  instalo l10n_ar_base sin mayores problemas, me añade a la izquierda el menu "Localizacion Argentina" y cuando quiero instalar lo que ahi aparece obtengo errores....

Al intentar por ejeemplo instalar los bancos, me da el siguiente error...  no se si me faltaria alguna libreria de python o que puede ser, pero agradeceria alguna informacion.

 

2015-10-09 15:54:48,578 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:48] "POST /web/action/load HTTP/1.1" 200 -
2015-10-09 15:54:48,675 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:48] "POST /web/dataset/call_kw/argentinian.base.config.settings/fields_view_get HTTP/1.1" 200 -
2015-10-09 15:54:48,810 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:48] "POST /web/dataset/call_kw/argentinian.base.config.settings/default_get HTTP/1.1" 200 -
2015-10-09 15:54:48,883 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:48] "POST /web/dataset/call_kw/argentinian.base.config.settings/onchange HTTP/1.1" 200 -
2015-10-09 15:54:51,297 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:51] "POST /web/dataset/call_kw/argentinian.base.config.settings/onchange HTTP/1.1" 200 -
2015-10-09 15:54:54,659 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:54] "POST /web/dataset/call_kw/argentinian.base.config.settings/create HTTP/1.1" 200 -
2015-10-09 15:54:54,743 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:54] "POST /web/dataset/call_kw/argentinian.base.config.settings/search_read HTTP/1.1" 200 -
2015-10-09 15:54:54,804 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:54] "POST /web/dataset/call_button HTTP/1.1" 200 -
2015-10-09 15:54:55,144 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:55] "POST /web/menu/load_needaction HTTP/1.1" 200 -
2015-10-09 15:54:56,555 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:56] "POST /longpolling/poll HTTP/1.1" 200 -
2015-10-09 15:54:58,011 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:58] "POST /web/webclient/version_info HTTP/1.1" 200 -
2015-10-09 15:54:58,060 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:58] "POST /web/dataset/call_kw/ir.config_parameter/get_param HTTP/1.1" 200 -
2015-10-09 15:54:58,736 946 INFO GE_TEST werkzeug: 10.0.0.78 - - [09/Oct/2015 15:54:58] "POST /web/dataset/call_kw/ir.module.module/search_read HTTP/1.1" 200 -
2015-10-09 15:55:01,683 946 INFO GE_TEST openerp.addons.base.module.module: Downloading module `l10n_ar_bank` from OpenERP Apps
2015-10-09 15:55:09,114 946 INFO GE_TEST openerp.addons.base.module.module: Downloading module `l10n_ar_states` from OpenERP Apps
2015-10-09 15:55:10,880 946 INFO GE_TEST openerp.addons.base.module.module: Copy downloaded module `l10n_ar_bank` to `/opt/odoo/.local/share/Odoo/addons/8.0/l10n_ar_bank`
2015-10-09 15:55:10,882 946 INFO GE_TEST openerp.addons.base.module.module: Copy downloaded module `l10n_ar_states` to `/opt/odoo/.local/share/Odoo/addons/8.0/l10n_ar_states`
2015-10-09 15:55:12,036 946 ERROR GE_TEST openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/opt/odoo/odoo-server/openerp/http.py", line 537, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/odoo-server/openerp/http.py", line 574, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo/odoo-server/openerp/http.py", line 310, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/http.py", line 307, in checked_call
    return self.endpoint(*a, **kw)
  File "/opt/odoo/odoo-server/openerp/http.py", line 803, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo/odoo-server/openerp/http.py", line 403, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 952, in call_button
    action = self._call_kw(model, method, args, {})
  File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 940, in _call_kw
    return checked_call(request.db, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 939, in checked_call
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 719, in install_from_urls
    self.update_list(cr, uid, context=context)
  File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/addons/base/module/module.py", line 651, in update_list
    handler.load_addons()
  File "/opt/odoo/odoo-server/openerp/http.py", line 1310, in load_addons
    m = __import__('openerp.addons.' + module)
  File "/opt/odoo/odoo-server/openerp/modules/module.py", line 80, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/opt/odoo/.local/share/Odoo/addons/8.0/l10n_ar_bank/__init__.py", line 6, in <module>
    from . import l10n_ar_bank
ImportError: cannot import name l10n_ar_bank

 

Avatar
Descartar
4 Respuestas
0
Avatar
nahomy
Best Answer

Hola estoy intentando instalar los modulos y tenido el mismo problema pero al actualizar la lista de modulos para poder instalarlos  y me sale ese mismo error de Gabriel , el error indica que hay un poblema en __init__.py

from . import l10n_ar_bank

from . import wizard

1 Comentario
Avatar
Descartar
Avatar
Maxi Cooper
-

¿Pudiste resolverlo? Creo que es un tema de dependencias pero no puedo encontrar cuál es la que falta.

0
Avatar
Leo
Best Answer

A mi me pasaba lo mismo, por eso finalmente y aunque me resesitía decidí instalarlo con Docker y todo ok.

Avatar
Descartar
0
Avatar
Bruno Geninatti
Best Answer

Buenos días. Estoy teniendo el mismo problema instalando los modulos de localizacion argentina de adhoc en la imagen de odoo 8 de bitnami.

 

Alguien le encontró solucion?

 

Muchas gracias

Avatar
Descartar
0
Avatar
Administrator
Best Answer

Gabriel

Como estás? Podés probar instalando directamente desde los módulos a l10n_ar_bank (https://github.com/ingadhoc/odoo-argentina/tree/8.0/l10n_ar_bank)

Saludos!

2 Comentarios
Avatar
Descartar
Avatar
nahomy
-

Tambien intente de ese github y el error persiste. Saludos.

Avatar
Administrator
-

Nahomy, podrías cargar el issue en el repo de git? Gracias!