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

Falla al aplicar localización Argentina

Buenas noches,

He seguido el instructivo oficial utilizando virtualenv para instalar odoo 8 con la localilzación argentina en Ubuntu 14 desktop 64bits y no me funcionó.

Buscando en el foro encontré este post http://www.odooargentina.com/forum/foro-odoo-argentina-1/question/instalacion-de-odoo-8-0-sobre-ubuntu-server-14-04-33 pero también me da errores al intentar aplicar la localización.

Pude resolver algunos, pero este no lo estoy pudiendo resolver. Les agradecería si me pudieran dar alguna ayuda para resolverlo.

 

  • Este es el error que obtengo

Odoo Server Error
Traceback (most recent call last):
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 537, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 574, in dispatch
    result = self._call_function(**self.params)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 310, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/service/model.py", line 113, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 307, in checked_call
    return self.endpoint(*a, **kw)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 803, in __call__
    return self.method(*args, **kw)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/http.py", line 403, in response_wrap
    response = f(*args, **kw)
  File "/home/myuser/odoo/80/server/addons/web/controllers/main.py", line 948, in call_button
    action = self._call_kw(model, method, args, {})
  File "/home/myuser/odoo/80/server/addons/web/controllers/main.py", line 936, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/res/res_config.py", line 586, in execute
    action = self._install_modules(cr, uid, to_install, context=context)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/res/res_config.py", line 55, in _install_modules
    result = ir_module.button_immediate_install(cr, uid, to_install_ids, context=context)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 446, in button_immediate_install
    return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/api.py", line 241, in wrapper
    return old_api(self, *args, **kwargs)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/base/module/module.py", line 494, in _button_immediate_function
    registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/modules/registry.py", line 370, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/modules/loading.py", line 355, in load_modules
    loaded_modules, update_module)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/modules/loading.py", line 255, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/modules/loading.py", line 143, in load_module_graph
    load_openerp_module(package.name)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/modules/module.py", line 315, in load_openerp_module
    __import__('openerp.addons.' + module_name)
  File "/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/modules/module.py", line 80, in load_module
    mod = imp.load_module('openerp.addons.' + module_part, f, path, descr)
  File "/home/myuser/odoo/80/sources/odoo-argentina/l10n_ar_afipws_fe/__init__.py", line 7, in <module>
    from . import models
  File "/home/myuser/odoo/80/sources/odoo-argentina/l10n_ar_afipws_fe/models/__init__.py", line 7, in <module>
    from . import invoice
  File "/home/myuser/odoo/80/sources/odoo-argentina/l10n_ar_afipws_fe/models/invoice.py", line 10, in <module>
    from pyafipws.soap import SoapFault

ImportError: No module named pyafipws.soap

  • Este es el archivo de configuración que estoy utilizando:

[options]
addons_path = /home/myuser/odoo/80/server/addons/,/home/myuser/odoo/80/sources/odoo-addons/,/home/myuser/odoo/80/sources/odoo-argentina/,/home/myuser/odoo/80/sources/web/,/home/myuser/odoo/80/sources/aeroo_reports/,/home/myuser/odoo/80/sources/server-tools/,/home/myuser/odoo/80/sources/web,/home/myuser/odoo/80/local/lib/python2.7/site-packages/odoo-8.0-py2.7.egg/openerp/addons/
admin_passwd = admin
auto_reload = False
csv_internal_sep = ,
data_dir = /home/myuser/.local/share/Odoo
db_host = localhost
db_maxconn = 64
db_name = False
db_password = xxxx
db_port = False
db_template = template1
db_user = odoo80
dbfilter = .*
debug_mode = False
demo = {}
email_from = False
geoip_database = /usr/share/GeoIP/GeoLiteCity.dat
import_partial = 
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 60
limit_time_real = 120
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = info
logfile = None
logrotate = False
longpolling_port = 8072
max_cron_threads = 2
osv_memory_age_limit = 1.0
osv_memory_count_limit = False
pg_path = None
pidfile = None
proxy_mode = False
reportgz = False
secure_cert_file = server.cert
secure_pkey_file = server.pkey
server_wide_modules = None
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_commit = False
test_enable = False
test_file = False
test_report_directory = False
timezone = False
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 0
xmlrpc = True
xmlrpc_interface = 
xmlrpc_port = 8069
xmlrpcs = True
xmlrpcs_interface = 
xmlrpcs_port = 8071

Desde ya muchas gracias!

Avatar
Descartar
1 Respuesta
0
Avatar
Soporte ADHOC
Best Answer

Daniel

Como estás? El problema proviene probablemente de dependencias de python no instaladas. Te recomiendo que comiences a usar docker para instalar odoo, es más robusto y requiere menores configuraciones.

http://www.odooargentina.com/page/docker-avanzado

Saludos!

 

 

Avatar
Descartar