Skip to content

Commit

Permalink
[15.0][ADD] l10n_es_vat_book_igic (#49)
Browse files Browse the repository at this point in the history
Backport from v.16
  • Loading branch information
almumu authored and docker-odoo committed Oct 31, 2024
1 parent 273ada2 commit 9e69f46
Show file tree
Hide file tree
Showing 12 changed files with 712 additions and 0 deletions.
119 changes: 119 additions & 0 deletions l10n_es_vat_book_igic/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
=============
Libro de IGIC
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:4bb80aff2c5ece008932733a72d85331ce0e5500d105f25dcbedc01de88d88
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-spain/tree/15.0/l10n_es_vat_book_igic
:alt: OCA/l10n-spain
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_vat_book_igic
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Módulo que añade los mapeos del libro de IGIC español al Libro de IVA.

Esto módulo introduce los mapeos del IGIC en Contabilidad -> Informe ->
Declaraciones ATC -> Libro de IVA.

Es posible visualizar e imprimir por separado:

* Libro Registro de Facturas Emitidas
* Libro Registro de Facturas Recibidas

Es posible exportar los registros a archivo con extensión xlsx.

En el modo de visualización de los informes es posible navegar a los asientos
contables relacionados con la factura.

**Table of contents**

.. contents::
:local:

Installation
============

Para instalar este modulo necesitas:

* l10n_es_igic
* l10n_es_vat_book

Se instalan automáticamente si están disponibles en la lista de addons.

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

Los códigos de impuestos incluidos en el Libro de IVA pueden verse en:
Contabilidad -> Configuración -> AEAT -> Mapeo AEAT libro de IVA

Usage
=====

Para crear un libro de IVA con los impuestos canarios se debe añadir la *Agencia Tributaria Canaria* en el campo *tax_agency_id* del libro.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_vat_book_igic%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Binhex System Solutions

Contributors
~~~~~~~~~~~~

* Nicolás Ramos <[email protected]>
* Almudena de La Puente <[email protected]>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

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

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.

.. |maintainer-nicolasramos| image:: https://github.com/nicolasramos.png?size=40px
:target: https://github.com/nicolasramos
:alt: nicolasramos

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-nicolasramos|

This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/15.0/l10n_es_vat_book_igic>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
14 changes: 14 additions & 0 deletions l10n_es_vat_book_igic/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2014-2023 Binhex - Nicolás Ramos (http://binhex.es)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Libro de IGIC",
"version": "15.0.1.0.0",
"author": "Binhex System Solutions, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-spain",
"license": "AGPL-3",
"category": "Accounting",
"depends": ["l10n_es_igic", "l10n_es_vat_book"],
"data": ["data/atc_vat_book_igic_map_data.xml"],
"maintainers": ["nicolasramos"],
"installable": True,
}
88 changes: 88 additions & 0 deletions l10n_es_vat_book_igic/data/atc_vat_book_igic_map_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="0">
<record id="atc_vat_book_igic_map_line_s_igic" model="aeat.vat.book.map.line">
<field name="name">IGIC Repercutido</field>
<field name="book_type">issued</field>
<field name="special_tax_group" eval="False" />
<field name="fee_type_xlsx_column">N</field>
<field name="fee_amount_xlsx_column">O</field>
<field
name="tax_tmpl_ids"
eval="[
Command.link(ref('l10n_es_igic.account_tax_template_igic_r_0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_r_3')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_r_7')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_r_9_5')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_r_15')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_r_20')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_s_ISP0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ex_0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_re_ex')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_cmino')),
]"
/>
</record>
<record id="atc_vat_book_igic_map_line_p_igic" model="aeat.vat.book.map.line">
<field name="name">IGIC Soportado</field>
<field name="book_type">received</field>
<field name="special_tax_group" eval="False" />
<field name="fee_type_xlsx_column">O</field>
<field name="fee_amount_xlsx_column">P</field>
<field name="tax_account_id" ref="l10n_es_igic.account_common_canary_4727" />
<field
name="tax_tmpl_ids"
eval="[
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_ex')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_3')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_7')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_9_5')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_15')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_20')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_0_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_3_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_7_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_9_5_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_15_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_20_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_3')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_7')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_9_5')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_15')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_20')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_0_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_3_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_7_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_9_5_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_15_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_sop_i_20_inv')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ISP0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ISP3')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ISP7')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ISP95')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ISP15')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_ISP20')),
]"
/>
</record>

<record id="atc_vat_book_igic_map_line_p_req" model="aeat.vat.book.map.line">
<field name="name">Recargo Eq.</field>
<field name="book_type">received</field>
<field name="special_tax_group">req</field>
<field name="fee_type_xlsx_column">R</field>
<field name="fee_amount_xlsx_column">S</field>
<field
name="tax_tmpl_ids"
eval="[
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_re0')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_re03')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_re07')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_re095')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_re15')),
Command.link(ref('l10n_es_igic.account_tax_template_igic_p_re20')),
]"
/>
</record>
</odoo>
13 changes: 13 additions & 0 deletions l10n_es_vat_book_igic/i18n/l10n_es_vat_book_igic.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
2 changes: 2 additions & 0 deletions l10n_es_vat_book_igic/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Los códigos de impuestos incluidos en el Libro de IVA pueden verse en:
Contabilidad -> Configuración -> AEAT -> Mapeo AEAT libro de IVA
1 change: 1 addition & 0 deletions l10n_es_vat_book_igic/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Nicolás Ramos <[email protected]>
14 changes: 14 additions & 0 deletions l10n_es_vat_book_igic/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Módulo que añade los mapeos del libro de IGIC español al Libro de IVA.

Esto módulo introduce los mapeos del IGIC en Contabilidad -> Informe ->
Declaraciones ATC -> Libro de IVA.

Es posible visualizar e imprimir por separado:

* Libro Registro de Facturas Emitidas
* Libro Registro de Facturas Recibidas

Es posible exportar los registros a archivo con extensión xlsx.

En el modo de visualización de los informes es posible navegar a los asientos
contables relacionados con la factura.
6 changes: 6 additions & 0 deletions l10n_es_vat_book_igic/readme/INSTALL.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Para instalar este modulo necesitas:

* l10n_es_igic
* l10n_es_vat_book

Se instalan automáticamente si están disponibles en la lista de addons.
1 change: 1 addition & 0 deletions l10n_es_vat_book_igic/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Para crear un libro de IVA con los impuestos canarios se debe añadir la *Agencia Tributaria Canaria* en el campo *tax_agency_id* del libro.
Binary file added l10n_es_vat_book_igic/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9e69f46

Please sign in to comment.