¡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

Se marcó esta pregunta
4 Respuestas
3015 Vistas

Buenas, se me estan "quemando los papeles". Estoy renegando para ahcer andar la localización y factura electrónica, me faltan dependecias que voy instalando y demás, lo que no pude instalar es el pyafipsw, por lo que no puedo siquiera terminar de instalar los modulos para comenzar a probar.

Los modulos de localización y factura electrónica andan en odoo 9? hay algun paso a paso de instalación que no sean los dos de la web? 

Estoy intentando indtalar el ubuntu, cuando le doy a actualziar al modulo de localización argentiona me salta un error por no tener el pyafipsw, que con pip de da error al instalar.

Avatar
Descartar
Mejor respuesta

Te paso un instructivo para la versión 9 con la localización, no es perfecto pero es lo que hay. Funciona...

Instalación y configuración de odoo 9 localización argentina adhoc en virtualenv

 

 

sudo apt-get install python-cups python-dateutil python-decorator python-docutils python-feedparser python-gdata python-geoip python-gevent python-imaging python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-passlib python-psutil python-psycopg2 python-pybabel python-pychart python-pydot python-pyparsing python-pypdf python-reportlab python-requests python-simplejson python-tz python-unicodecsv python-unittest2 python-vatnumber python-vobject python-werkzeug python-xlwt python-yaml wkhtmltopdf swig python-setuptools python-genshi python-cairo python-lxml libreoffice-script-provider-python python3-pip python-cups git python-genshi python-cairo python-lxml libreoffice-script-provider-python python3-pip python-beautifulsoup python-openssl swig python-setuptools python-genshi python-cairo python-lxml libreoffice-script-provider-python python3-pip python-cups git python-genshi python-cairo python-lxml libreoffice-script-provider-python python-pip postgresql openssl ssh build-essential libssl-dev libffi-dev python-dev libxml2-dev libxslt1-dev postgresql-server-dev-all libssl-dev python-dev libldap2-dev libsasl2-dev libssl-dev python-m2crypto libcups2-dev python3-pip python-gevent libffi-dev python-matplotlib font-manager mercurial-common unixodbc-dev libldap-ocaml-dev ca-certificates node-less node-clean-css python-pyinotify python-renderpm python-pip git nano htop ssh wget unzip python-gevent python-dev build-essential python-matplotlib font-manager swig libffi-dev libssl-dev python-m2crypto python-httplib2 libcups2-dev nodejs npm

 

ln -s /usr/bin/nodejs /usr/bin/node

npm install -g less

npm install -g less-plugin-clean-css

 

virtualenv odoo9fe

cd odoo9fe/

source bin/activate

 

git clone -b 9.0 https://github.com/odoo/odoo.git server

 

pip install psycogreen openupgradelib simplejson flanker

 

 

cd server

 

pip install -r requirements.txt

python setup.py install

 

odoo.py -c odoo.conf -s

ctrl Z

 

mkdir adhoc

cd adhoc

 

git clone https://github.com/ingadhoc/aeroo_reports -b 9.0

cd aeroo_reports/

pip install -r requirements.txt

git clone https://github.com/ingadhoc/odoo-support -b 9.0

cd odoo-support/

pip install -r requirements.txt

git clone https://github.com/ingadhoc/odoo-argentina -b 9.0

cd odoo-argentina/

pip install -r requirements.txt

 

chmod 777 -R /usr/local/lib/python2.7/dist-packages/pyafipws/

 

git clone https://github.com/ingadhoc/website -b 9.0 ingadhoc-website

pip install -r requirements.txt

git clone https://github.com/ingadhoc/odoo-web -b 9.0

git clone -b 9.0 https://github.com/ingadhoc/argentina-sale.git

git clone https://github.com/ingadhoc/account-analytic -b 9.0 ingadhoc-account-analytic

git clone https://github.com/ingadhoc/product -b 9.0 ingadhoc-product

git clone https://github.com/ingadhoc/purchase -b 9.0 ingadhoc-purchase

git clone https://github.com/ingadhoc/partner -b 9.0 ingadhoc-partner

git clone https://github.com/ingadhoc/crm -b 9.0 ingadhoc-crm

git clone https://github.com/ingadhoc/account-payment -b 9.0 ingadhoc-account-payment

git clone https://github.com/ingadhoc/account-financial-tools -b 9.0 ingadhoc-account-financial-tools

git clone https://github.com/ingadhoc/sale -b 9.0 ingadhoc-sale

git clone https://github.com/ingadhoc/account-invoicing -b 9.0 ingadhoc-account-invoicing

git clone https://github.com/ingadhoc/reporting-engine -b 9.0 ingadhoc-reporting-engine

git clone https://github.com/ingadhoc/miscellaneous -b 9.0 ingadhoc-miscellaneous

git clone https://github.com/ingadhoc/stock -b 9.0 ingadhoc-stock

git clone https://github.com/ingadhoc/multi-company -b 9.0 ingadhoc-multi-company

git clone https://github.com/ingadhoc/project -b 9.0 ingadhoc-project

git clone https://github.com/ingadhoc/manufacture -b 9.0 ingadhoc-manufacture

 

mkdir oca

 

git clone https://github.com/OCA/server-tools -b 9.0 oca-server-tools

git clone https://github.com/OCA/sale-workflow -b 9.0, oca-sale_workflow

git clone https://github.com/OCA/sale-financial -b 9.0, oca-sale-financial

git clone https://github.com/OCA/purchase-workflow -b 9.0, oca-purchase-workflow

git clone https://github.com/OCA/account-financial-tools -b 9.0 oca-account-financial-tools

git clone https://github.com/OCA/account-financial-reporting -b 9.0 oca-account-financial-reporting

git clone https://github.com/OCA/account-invoicing -b 9.0 oca-account-invoicing

git clone https://github.com/OCA/reporting-engine -b 9.0 oca-reporting-engine

pip install -r requirements.txt

git clone https://github.com/OCA/stock-logistics-workflow -b 9.0 oca-stock-logistics-workflow

git clone https://github.com/OCA/stock-logistics-warehouse -b 9.0 oca-stock-logistics-warehouse

git clone https://github.com/OCA/knowledge -b 9.0 oca-knowledge

git clone https://github.com/OCA/manufacture -b 9.0 oca-manufacture

git clone https://github.com/OCA/margin-analysis -b 9.0 oca-margin-analysis

git clone https://github.com/OCA/crm -b 9.0 oca-crm

git clone https://github.com/OCA/web -b 9.0 oca-web

git clone https://github.com/OCA/hr -b 9.0 oca-hr

git clone https://github.com/OCA/hr-timesheet -b 9.0 oca-hr-timesheet

git clone https://github.com/OCA/commission -b 9.0 oca-commission

git clone https://github.com/OCA/report-print-send -b 9.0 oca-report-print-send

pip install -r requirements.txt !!!!!!!!!!!

git clone https://github.com/OCA/account-payment -b 9.0 oca-account-payment

git clone https://github.com/oca/social -b 9.0 oca-social

git clone https://github.com/OCA/account-analytic -b 9.0 oca-account-analytic

git clone https://github.com/OCA/contract -b 9.0 oca-contract

git clone https://github.com/OCA/website -b 9.0 oca-website

git clone https://github.com/OCA/product-variant -b 9.0 oca-product-variant

git clone https://github.com/OCA/product-attribute -b 9.0 oca-product-attribute

git clone https://github.com/OCA/partner-contact -b 9.0 oca-partner-contact

pip install -r requirements.txt

git clone https://github.com/OCA/e-commerce -b 9.0 oca-e-commerce

 

mkdir others

git clone https://github.com/akretion/odoo-usability -b 9.0 akretion-odoo-usability

git clone https://github.com/it-projects-llc/website-addons -b 9.0 it-projects-llc-website-addons

pip install -r requirements.txt

git clone https://github.com/odoomrp/odoomrp-utils -b 9.0 odoomrp-odoomrp-utils

 

.......................................................................

pip install httplib2==0.9.2

 

Collecting httplib2==0.9.2

Installing collected packages: httplib2

Found existing installation: httplib2 0.10.3

Uninstalling httplib2-0.10.3:

Successfully uninstalled httplib2-0.10.3

Successfully installed httplib2-0.9.2

.......................................................................

 

Armar odoo.conf

.......................................................................

odoo.py -c odoo.conf

.......................................................................

 

Activar modo desarrollador

 

Actualizar lista de aplicaciones

.......................................................................

instalar l10n_ar

.......................................................................

First it search for a parameter "afip.ws.env.type" if exists and:

 

is production --> production

is homologation --> homologation

........................................................................

 

Configuración general My Company

............................................................................

Usuario --» Contabilidad y finanzas --» Asesor

........................................................................

Plantilla Contable correspondiente --» Aplicar

.......................................................................

Compañia --» wsAfip --» Alias --» Certificados

 

.......................................................................

Contabilidad --» Contabilidad --» Diarios

 

Avatar
Descartar
Autor

Gracias Gustavo, Justo encontre esta guia en la lista de correos y estoy implementando.

Mejor respuesta
Avatar
Descartar
Mejor respuesta

La instalación con docker esta funcionando perfectamente también. Es quiza menos comoda a la hora de personalizar módulos pero yo tengo varias instalaciones incluso en producción y esta funcionando de maravillas.

Odoo Docker Compose and Images

This repository contains a set of dockerfiles to build different docker images used by ADHOC. It also provides a docker-compose file to use odoo in a simple way.

The default odoo docker image (adhoc/odoo-ar) that is used on compose, includes many repositories (and it dependencies) generally used by adhoc (mainly oca and ingadhoc repositories)

Requirements

To use this docker compose file need:

  • install pip "sudo apt-get install python-pip"

  • docker-compose "sudo pip install --upgrade docker-compose"

  • docker-engine "sudo curl -sSL https://get.docker.com/ | sh"

  • we also recommend this so you can use docker without sudo

    • sudo groupadd docker
    • sudo gpasswd -a $USER docker
    • sudo service docker restart && newgrp docker
  • clone this repository "git clone git@github.com:ingadhoc/docker-odoo-adhoc.git" (or "git clone https://github.com/ingadhoc/docker-odoo-adhoc.git")

  • If you want to have areoo docs convertion you shoud run only once "docker run --name="aeroo" --restart=always -d adhoc/aeroo-docs"

 

Avatar
Descartar
Autor

Gracias ariel, ya logre ahcer la instalación correctamente, estoy agregando los modulos y requerimientos.

Usaste la de docker o comenzaste de 0 con la que venias?

Autor

lo hice de 0. voy a armar una guía de los pasos que hice y la paso para quien le sirva a futuro

Autor Mejor respuesta

Arranque con los problemas:

  1. No logro instalar pyafipws
  2. Este error al iniciarlo
    1. 2017-09-12 17:38:19,249 1178 WARNING ? openerp.modules.module: module web: module not found
      2017-09-12 17:38:19,250 1178 CRITICAL ? openerp.modules.module: Couldn't load module web
      2017-09-12 17:38:19,252 1178 CRITICAL ? openerp.modules.module: No module named web
      2017-09-12 17:38:19,254 1178 ERROR ? openerp.service.server: Failed to load server-wide module `web`.
Avatar
Descartar
Autor

solucione el 2 iniciando con ./openerp-server --addons-path=addons

que error te da cuando haces pip install pyafipws? tenes que configurar el odoo.conf correctamente

Autor

no em dejaba instalarlo, volvi a hacerlo de cero, lo instalo bien. Sigo agregando los modulos y luego veo si funciona, si es asi les digo bien que hice, sino sigo molestando, no me puede ganar esto.