Skip to content

Commit 0fa4bee

Browse files
committed
INIT re init v9 from 8.0
1 parent 53065dc commit 0fa4bee

File tree

301 files changed

+5844
-28484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+5844
-28484
lines changed

.travis.yml

+17-6
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,30 @@ addons:
3939

4040
env:
4141
global:
42-
- VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
42+
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
4343
- TRANSIFEX_USER='jjscarafia'
44-
# to get secure, run 'travis encrypt TRANSIFEX_PASSWORD=[transifex_password] -r [github_repo]'
45-
# example of github repo 'ingadhoc/odoo-infrastructure'
44+
# This line contains the encrypted transifex password
45+
# To encrypt transifex password, install travis ruby utils with:
46+
# $ gem install travis --user-install
47+
# and use:
48+
# $ travis encrypt TRANSIFEX_PASSWORD=your-password -r owner/project
4649
- secure: Kys/o1svHJON9p6Vwv4qVSAvR/e6KGp4qKeDjWNcVeQoCfs0O35aiouLWUUiuj+JSrACL6ngha3QbeuajhYr6cYPur4NjIbCq7ePcmbEu45OcJz3l/7EiUFit8XwlRmT1uGtgknsvbn37vlF0IC28gK/1D/06CLJnxAXBOjkEd7sNmAQNAYVHQREsQsK1Pw39APAzUAtB5K5fNU3MUhQ0dCWWZ+nQeghbVM0kzf1k1iJkRDf3WDWZRRDCQdS93bMkXsw0ojkW1X5sSAqfxu89uDSyMNgMVmPsLsavatFrlUMEMZXkSlevGvNUSgoClLQMeIzbivhDME9Nv6hKcqYU8TKIYF7URtSdWwOA1FxXnrOqUjkAqvajS2P2byLYHMoRC31SH5Mh3s2A04qh+sLEf406fB8e8//7leN4l9YL2S3F6m++ZUHgN7YHXD0jhspiuC9FtnMDULUIDXGM4vaMpkZY5lhROOPXecE9FAIl9rc8s3BqlV2GMP4rrBxqo8l5SoSt4I5TOacI3niHBUHU47jhRK8NsGI/Z9ybElNeVmBI9QzZXHhciB31IPC/nRL9MgBFN1/JsHH2FXUv9OnOi8VxU5AqsCCeCG+dSFGeKZfRPZiqIHZNavL7DLitrYmN3JsizKTPGsA1CQ1788Q8oTx8C+Fn4zk+hQ+vCI+DKo=
50+
# Use the following lines if you need to manually change the transifex project slug or/and the transifex organization.
51+
# The default project slug is owner-repo_name-version (with dash in the version string).
52+
# The default organization is the owner of the repo.
53+
# The default fill up resources (TM) is True.
54+
# The default team is 23907. https://www.transifex.com/organization/oca/team/23907/
55+
# - TRANSIFEX_PROJECT_SLUG=
56+
# - TRANSIFEX_FILL_UP_RESOURCES=
4757
- TRANSIFEX_ORGANIZATION='adhoc'
4858
- TRANSIFEX_TEAM='46451'
4959

5060
matrix:
51-
# TODO enable lint check
52-
#- LINT_CHECK="1"
61+
- LINT_CHECK="1"
5362
- TRANSIFEX="1"
54-
- TESTS="1" ODOO_REPO="odoo/odoo"
63+
# we include account so that is not pre-installed because it raise an error
64+
# running test with account already installed (i also happends with odoo default modules)
65+
- TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="account"
5566
# either use the two lines above or the two below. Don't change the default if
5667
# it's not necessary (it is only necessary if modules in your repository can't
5768
# be installed in the same database. And you get a huge speed penalty in your

CHANGELOG.md

+1-108
Original file line numberDiff line numberDiff line change
@@ -1,108 +1 @@
1-
### Odoo-Argentina
2-
3-
#### WISHLIST
4-
* Eliminar dependencias de odoo-argentina (pyopenssl, etc)
5-
* Probar generar pkey, cert. request y demás usando pyafipws (limpiar modulos afipws y afipws_fe). Ejemplo en https://code.google.com/p/pyafipws/wiki/FacturaElectronicaPython
6-
* separar partner en l10n_..invoice (mods en base vat o en otro lugar tipo l10n_ar_partner) para que si quiereo cuit y cosas asi no requiera instalar account
7-
* Ver si simplificamos el manejo de documentos y el vat
8-
* mejorar la parte de certificado, el campo state por ahí no neesario en el alias. A su vez tal ves el "outsorced" no es mas necesario, siempre se genera para la compania, tal vez no hacemos los dos m2o si no que agregamos todo a la clase res.company y listo
9-
10-
11-
#### UPGRADE
12-
##### 8.0 to 8.0 after august 2015
13-
on august 2015 we release several modifications on receipts and other modules, to update both odoo-addons and odoo-argentina follow moreless this steps:
14-
* Update both repositories (odoo-addons and odoo-argentina)
15-
* update module list on odoo interface
16-
* Update checks and receipts module `-u account_check,l10n_ar_invoice -i account_voucher_payline,account_journal_payment_subtype,l10n_ar_aeroo_voucher --without-demo=all -d [database_name]`
17-
* desintall depreciated modules `account_bank_voucher` and `account_voucher_receipt`
18-
* optionally install this new modules: `-i account_transfer,account_tax_settlement_withholding,l10n_ar_account_check,l10n_ar_chart_generic_withholding,l10n_ar_chart_generic_tax_settlement,account_statement_move_import,account_statement_disable_invoice_import --without-demo=all -d [database_name]`
19-
20-
NOTAS INTERNAS:
21-
Pasos con infra:
22-
* backup de bd
23-
* actualizamos repos server-tools, odoo-addons, odoo-argentina y odoo support (en prod borramos odoo argentina y odoo addons para que borre completamente carpetas viejas)
24-
* verificamos imagen en 8.0 (si es otro server hacer pull)
25-
* hacemos un restart (si ya estaba en 8.0) o create/update (si lo cambiamos)
26-
* entramos y actualizamos lista de modulos
27-
* buscamos vistas con "argent" y las borramos
28-
* matamos servicio, levantamos a mano y corremos
29-
* `runuser -u odoo openerp-server -- -c /etc/odoo/openerp-server.conf --logfile=False --load=web,web_kanban,database_tools,server_mode -u account_check,l10n_ar_invoice,web_support_client,l10n_ar_base,database_cleanup -i account_voucher_payline,account_journal_payment_subtype,l10n_ar_aeroo_voucher,account_transfer,account_tax_settlement_withholding,l10n_ar_account_check,l10n_ar_chart_generic_withholding,l10n_ar_chart_generic_tax_settlement,account_statement_disable_invoice_import,account_statement_move_import,account_journal_active --workers=0 --without-demo=all -d [database_name] `
30-
* Luego limpiamos bd (purge modules, models, etc)
31-
* bajamos servicio y leventamos desde infra
32-
* desactivamos diarios
33-
* desinstalamos auth_admin_passkey
34-
* importamos retenciones
35-
* vamos a los talonarios de recibos y completamos con documento "recibo x" y prefijo
36-
* hacemos copia a instancia de train
37-
38-
##### 8.0.2 to 8.0.3
39-
actualizar l10n_ar_base
40-
NOTA: para migrar de branch anteriores al 8.0.2 primero migrar a la 8.0.2
41-
42-
##### 8.0.1 to 8.0.2
43-
En intancia test (solo interesane para ADHOC):
44-
- pull odoo-support
45-
- pull de odoo argentina en 8.0.2
46-
- cambiar docker a 8.0.3 - create update
47-
- probar acceder
48-
49-
En instancia de produccion
50-
- cambiar las cuentas contables que tengan "type check" por "Efectivo" (no hace falta en el plan de cuentas template)
51-
- pull odoo-support (solo interesante para ADHOC)
52-
- cambiar docker a 8.0.3
53-
- pull de odoo argentina en 8.0.2
54-
- create/update instancia
55-
- update a l10n_ar_base,l10n_ar_invoice (esto dispara update de l10n_ar_wsafip_fe tmb) (para que ande bien export haría falta hacer un -i o hacer una cargamanual de los csv de uom, currency y countries)
56-
- hacer backup de la pkey y cert
57-
- desinstalar l10n_ar_wsafip
58-
- reiniciar instacia
59-
- actualizar listado de modulos
60-
- instalar afipws_fe
61-
- instalar server_mode_fetchmail (solo interesante para ADHOC)
62-
- cargar pkey y cert nuevos (o utilizar los del server y asignar en afip)
63-
- ir a puntos de venta y setear electronica al que corresponda
64-
65-
##### 8.0 to 8.0.1
66-
- Actualziar l10n_ar_invoice
67-
- Configurar atributos de codigos de impuestos
68-
69-
70-
#### CHANGELOG
71-
##### 8.0.2 to 8.0.3
72-
* Se borraron los modulos depreciados l10n_ar_wsafip y l10n_ar_wsafip_fe
73-
74-
##### 8.0.1 to 8.0.2
75-
* Se depreciaron l10n_ar_wsafip y l10n_ar_wsafip_fe
76-
* En su reemplazo se van a utilizar l10n_ar_afipws y l10n_ar_afipws_fe
77-
* Estos nuevos modulos utilizan el proyecto pyafipws
78-
* Se mejoraron los datos demo
79-
80-
##### 8.0 to 8.0.1
81-
* Las modificación más fuerte tiene que ver con algunos campos que se agregaron a códigos de impuestos (tipo de impuesto, donde aplica, etc). Si lago da error lo más probable es que tenga que ver con esto.
82-
* Para poder apretar el boton de "Compute citi data" se requiere que el libro iva esté en borrador
83-
* Estas modificaciones son principalmente utilizadas en tres cosas:
84-
* A la hora de validar una factura electronica, se debe indicar que impuestos son IVA, percepeciones, etc, etc
85-
* A la hora de generar los archivos del citi, se requiere informar tmb que es percepecion nacional, prov, municipal, que es percepeción de iva, etc..
86-
* Agregué una validación a la hora de validar facturas "argentinas" para que no deje hacerlo si los impuestos no tienen configurados códigos de impuestos o los códigos no tienen seteados estos atributos nuevos
87-
* Errores en generación de archivo citi:
88-
* Los mensajes de errores deberían ayudar a identificar que error puede estar ocurriendo, lo más probable es que tenga que ver con que falta el cuit de un prov o algo por el estilo
89-
* Errores en la importación de los archivos citi:
90-
* Cada uno de los errores indica en que línea está ocurriendo. Dicho numero de linea se corresponde con el orden de las facturas que se ven en el libro iva
91-
92-
93-
#### NOTAS VARIAS
94-
PARA PROBAR EN DOCKER
95-
sudo docker run -ti -p 127.0.0.1:8069:8069 -u root --link db:db --name odoo-fe adhoc/odoo-adhoc:8.0.2 /bin/bash
96-
runuser -u odoo openerp-server -- -c /etc/odoo/openerp-server.conf --logfile=False
97-
git clone https://github.com/ingadhoc/odoo-argentina -b 8.0.2
98-
git clone https://github.com/oca/web -b 8.0
99-
runuser -u odoo openerp-server -- -c /etc/odoo/openerp-server.conf --logfile=False --addons-path=/usr/lib/python2.7/dist-packages/openerp/addons,/odoo-argentina,/web -s
100-
runuser -u odoo openerp-server -- -c /etc/odoo/openerp-server.conf --logfile=False
101-
102-
PARA PROBAR EN VIRTUALENV
103-
sudo apt-get install python-dev swig python-virtualenv mercurial python-pip libssl-dev
104-
hg clone https://code.google.com/p/pyafipws
105-
cd pyafipws
106-
(con ambiente activado)
107-
pip install -r requirements.txt
108-
python setup.py install
1+
# Odoo-Argentina

README.md

+34-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[![Runbot Status](http://runbot.adhoc.com.ar/runbot/badge/flat/5/8.0.svg)](http://runbot.adhoc.com.ar/runbot/repo/github-com-ingadhoc-odoo-argentina-5)
2-
[![Build Status](https://travis-ci.org/ingadhoc/project.svg?branch=8.0)](https://travis-ci.org/ingadhoc/odoo-argentina)
3-
[![Coverage Status](https://coveralls.io/repos/ingadhoc/odoo-argentina/badge.png?branch=8.0)](https://coveralls.io/r/ingadhoc/odoo-argentina?branch=8.0)
1+
[![Runbot Status](http://runbot.adhoc.com.ar/runbot/badge/flat/5/9.0.svg)](http://runbot.adhoc.com.ar/runbot/repo/github-com-ingadhoc-odoo-argentina-5)
2+
[![Build Status](https://travis-ci.org/ingadhoc/odoo-argentina.svg?branch=9.0)](https://travis-ci.org/ingadhoc/odoo-argentina)
3+
[![Coverage Status](https://coveralls.io/repos/ingadhoc/odoo-argentina/badge.png?branch=9.0)](https://coveralls.io/r/ingadhoc/odoo-argentina?branch=9.0)
44
[![Code Climate](https://codeclimate.com/github/ingadhoc/odoo-argentina/badges/gpa.svg)](https://codeclimate.com/github/ingadhoc/odoo-argentina)
55

66
# ADHOC odoo-argentina
@@ -17,5 +17,36 @@ Translation Status
1717

1818
----
1919

20+
- [Brazil](https://github.com/openerpbrasil/l10n_br_core)** - fuente de conceptos avanzados sobre impuestos
21+
- [Colombia](https://github.com/odoo-colombia/odoo-colombia) - De quien hemos tomado todo este contenido e ideas para organizarnos. Gracias!
22+
- [Italia](http://bazaar.launchpad.net/~openobject-italia-core-devs/openobject-italia/italian-addons-7.0/files)
23+
- [España](http://bazaar.launchpad.net/~openerp-spain-team/openerp-spain/7.0/files)
24+
- [Argentina](http://bazaar.launchpad.net/~openerp-l10n-ar-localization/openerp-l10n-ar-localization/trunk/files)
25+
- [Venezuela](https://github.com/odoo-venezuela/odoo-venezuela)
26+
- [Mexico](http://bazaar.launchpad.net/~openerp-mexico-maintainer/openerp-mexico-localization/trunk/files)
27+
- *[agrégalo](https://github.com/ingadhoc/odoo-argentina/edit/master/README.md)* que piensas que falta!
28+
29+
30+
## Relevantes recursos addicionales, non-code
31+
Github esta reservado al codigo, los documentos de soporte o de trabajo residen en otros lugares.
32+
33+
- [Tutoriales de instalación, blog, foro y demás](http://www.odooargentina.com/)
34+
- [Guía de contribución de Odoo](https://github.com/odoo/odoo/wiki/Contributing/)
35+
- [Introduccion para desarollo de modulos](http://www.youtube.com/watch?v=0GUxV85DDm4&feature=share&t=5h47m38s)
36+
- *[agrégalo](https://github.com/ingadhoc/odoo-argentina/edit/master/README.md)* que piensas que falta!
37+
38+
## Recursos adicionales optionales
39+
- *[agrégalo](https://github.com/odoo-colombia/odoo-colombia/edit/master/README.md)* que piensas que falta!
40+
41+
[//]: # (addons)
42+
This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
43+
[//]: # (end addons)
44+
45+
Translation Status
46+
------------------
47+
[![Transifex Status](https://www.transifex.com/projects/p/ingadhoc-odoo-argentina-9-0/chart/image_png)](https://www.transifex.com/projects/p/ingadhoc-odoo-argentina-9-0)
48+
49+
----
50+
2051
<img alt="ADHOC" src="http://fotos.subefotos.com/83fed853c1e15a8023b86b2b22d6145bo.png" />
2152
**Adhoc SA** - www.adhoc.com.ar

l10n_ar_account/README.rst

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
2+
:alt: License
3+
4+
Módulo base de Contabilidad Argentina
5+
=====================================
6+
7+
TODO
8+
9+
Configuration
10+
=============
11+
12+
TODO
13+
14+
Usage
15+
=====
16+
17+
TODO
18+
19+
Know issues / Roadmap
20+
=====================
21+
22+
TODO
23+
24+
Credits
25+
=======
26+
27+
Contributors
28+
------------
29+
30+
* TODO
31+
32+
Maintainer
33+
----------
34+
35+
.. image:: http://odoo-argentina.org/logo.png
36+
:alt: Odoo Argentina
37+
:target: http://odoo-argentina.org
38+
39+
This module is maintained by the Odoo Argentina.
40+
41+
Odoo Argentina, is a nonprofit organization whose
42+
mission is to support the collaborative development of Odoo features and
43+
promote its widespread use.
44+
45+
To contribute to this module, please visit http://odoo-argentina.org

l10n_ar_invoice/__init__.py l10n_ar_account/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
from . import wizard
77
from . import models
88
from . import report
9+
from . import res_config
910
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

l10n_ar_account/__openerp__.py

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# -*- coding: utf-8 -*-
2+
{
3+
"name": "Módulo base de Contabilidad Argentina",
4+
'version': '9.0.1.0.0',
5+
'category': 'Localization/Argentina',
6+
'sequence': 14,
7+
'author': 'ADHOC SA,Moldeo Interactive',
8+
'license': 'AGPL-3',
9+
'summary': '',
10+
'depends': [
11+
'account_document',
12+
'l10n_ar_partner',
13+
],
14+
'external_dependencies': {
15+
},
16+
'data': [
17+
'data/afip_responsability_type.xml',
18+
'data/account_document_letter.xml',
19+
'data/account.document.type.csv',
20+
'data/afip_incoterm.xml',
21+
'data/res_country_afip_code.xml',
22+
'data/res_country_cuit.xml',
23+
'data/product_uom.xml',
24+
'data/res_currency.xml',
25+
'data/res_partner.xml',
26+
'data/account_tax_group.xml',
27+
# TODO analizar y migrar
28+
# 'data/account_financial_report_data.xml',
29+
# 'data/account_payment_term.xml',
30+
'wizard/account_invoice_refund_view.xml',
31+
'view/res_partner_view.xml',
32+
'view/res_company_view.xml',
33+
'view/afip_menuitem.xml',
34+
'view/afip_incoterm_view.xml',
35+
'view/res_country_view.xml',
36+
'view/res_currency_view.xml',
37+
'view/account_fiscal_position_view.xml',
38+
'view/product_uom_view.xml',
39+
'view/account_journal_view.xml',
40+
'view/account_invoice_view.xml',
41+
'view/afip_responsability_type_view.xml',
42+
'view/account_document_letter_view.xml',
43+
'view/account_document_type_view.xml',
44+
'res_config_view.xml',
45+
# TODO migrar
46+
# 'report/invoice_analysis.xml',
47+
'security/ir.model.access.csv',
48+
],
49+
'demo': [
50+
'demo/partner_demo.xml',
51+
'demo/company_demo.xml',
52+
],
53+
'test': [
54+
],
55+
'images': [
56+
],
57+
'installable': True,
58+
'auto_install': False,
59+
'application': False,
60+
}
61+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

0 commit comments

Comments
 (0)