Skip to content

Commit

Permalink
Merge 3c68f0b into e44f493
Browse files Browse the repository at this point in the history
  • Loading branch information
agaldona committed Apr 17, 2015
2 parents e44f493 + 3c68f0b commit 8ce4302
Show file tree
Hide file tree
Showing 55 changed files with 1,576 additions and 895 deletions.
40 changes: 40 additions & 0 deletions l10n_es_aeat/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
AEAT Base
=========
Módulo base para declaraciones de la AEAT.
* Crea campos base de los modelos aeat.
* Especifica un esqueleto base para todos los modelos.
* Crea una secuencia automática para los registros diferenciando por modelo.
* La exportación del BOE. Define una exportación básica, definiendo los diferentes registros del fichero.
Genera el registro del declarante con los campos genericos de los modelos.

Configuration
=============

Todos aquellos modelos que se especifiquen en los módulos adicionales y hereden el AEAT base, deberán
definir una variable interna que se llame '_aeat_number' asignándole como valor, el nombre del modelo.

Credits
=======

Contributors
------------

* Pexego (http://www.pexego.es)
* Acysos (http://www.acysos.com)
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
* AvanzOSC (http://www.avanzosc.es)

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.
2 changes: 1 addition & 1 deletion l10n_es_aeat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from . import aeat_report
from . import models
from . import wizard
8 changes: 3 additions & 5 deletions l10n_es_aeat/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@
'external_dependencies': {
'python': ['unidecode'],
},
'description': """
Módulo base para declaraciones de la AEAT.
""",
'data': [
'security/aeat_security.xml',
'security/ir.model.access.csv',
'data/aeat_sequence_type.xml',
'wizard/export_to_boe_wizard.xml',
'aeat_menuitem.xml',
'aeat_view.xml',
'views/aeat_menuitem.xml',
'views/aeat_view.xml',
],
'installable': True,
}
145 changes: 0 additions & 145 deletions l10n_es_aeat/aeat_report.py

This file was deleted.

9 changes: 9 additions & 0 deletions l10n_es_aeat/data/aeat_sequence_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data noupdate="1">
<record id="seq_aeat_type" model="ir.sequence.type">
<field name="name">Aeat Sequence</field>
<field name="code">aeat.sequence.type</field>
</record>
</data>
</openerp>
19 changes: 19 additions & 0 deletions l10n_es_aeat/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from . import aeat_report

0 comments on commit 8ce4302

Please sign in to comment.