diff --git a/l10n_es_igic_reav/README.rst b/l10n_es_igic_reav/README.rst new file mode 100644 index 00000000000..887a5483cac --- /dev/null +++ b/l10n_es_igic_reav/README.rst @@ -0,0 +1,79 @@ +================= +L10n Es Igic Reav +================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6c350ae8f23b68b794348a45e78e56d36201c0ecb8afec53228ff8b8c538db33 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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/17.0/l10n_es_igic_reav + :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-17-0/l10n-spain-17-0-l10n_es_igic_reav + :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=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Este módulo añade los impuestos necesarios en la localización fiscal +canaria para adaptarlo a los casos en que se aplique el REAV. + +**Table of contents** + +.. contents:: + :local: + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Dixmit + +Contributors +------------ + +- `Dixmit `__: + + - Luis Rodríguez + +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. + +This module is part of the `OCA/l10n-spain `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_es_igic_reav/__init__.py b/l10n_es_igic_reav/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/l10n_es_igic_reav/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/l10n_es_igic_reav/__manifest__.py b/l10n_es_igic_reav/__manifest__.py new file mode 100644 index 00000000000..8626ff691d5 --- /dev/null +++ b/l10n_es_igic_reav/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2024 Dixmit +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "L10n Es Igic Reav", + "summary": """Este addon añade a la contabilidad los impuestos + y posiciones fiscales para la localización canaria.""", + "version": "17.0.1.0.0", + "license": "AGPL-3", + "author": "Dixmit,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/l10n-spain", + "depends": ["l10n_es_igic", "l10n_es_reav"], + "data": [], + "demo": [], +} diff --git a/l10n_es_igic_reav/data/template/account.fiscal.position-es_full_canary.csv b/l10n_es_igic_reav/data/template/account.fiscal.position-es_full_canary.csv new file mode 100644 index 00000000000..6c2bd0aa6c6 --- /dev/null +++ b/l10n_es_igic_reav/data/template/account.fiscal.position-es_full_canary.csv @@ -0,0 +1,25 @@ +"id","name","name@es","name@ca","country_id","tax_ids/tax_src_id","tax_ids/tax_dest_id","account_ids/account_src_id","account_ids/account_dest_id" +"fp_igic_reav","IGIC REAV - Travel agencies","IGIC REAV - Agencias de viajes","IGIC REAV - Agències de viatges","","account_tax_template_p_igic0_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic0_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic3_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic3_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic7_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic7_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic95_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic95_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic15_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic15_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic20_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic20_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_s_igic0b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic0s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic3b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic3s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic7b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic7s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic95b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic95s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic15b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic15s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic20b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic20s","account_tax_template_s_igic_reav0","","" diff --git a/l10n_es_igic_reav/data/template/account.fiscal.position-es_pymes_canary.csv b/l10n_es_igic_reav/data/template/account.fiscal.position-es_pymes_canary.csv new file mode 100644 index 00000000000..6c2bd0aa6c6 --- /dev/null +++ b/l10n_es_igic_reav/data/template/account.fiscal.position-es_pymes_canary.csv @@ -0,0 +1,25 @@ +"id","name","name@es","name@ca","country_id","tax_ids/tax_src_id","tax_ids/tax_dest_id","account_ids/account_src_id","account_ids/account_dest_id" +"fp_igic_reav","IGIC REAV - Travel agencies","IGIC REAV - Agencias de viajes","IGIC REAV - Agències de viatges","","account_tax_template_p_igic0_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic0_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic3_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic3_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic7_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic7_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic95_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic95_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic15_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic15_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic20_bc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_p_igic20_sc","account_tax_template_p_igic_reav0","","" +"","","","","","account_tax_template_s_igic0b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic0s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic3b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic3s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic7b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic7s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic95b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic95s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic15b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic15s","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic20b","account_tax_template_s_igic_reav0","","" +"","","","","","account_tax_template_s_igic20s","account_tax_template_s_igic_reav0","","" diff --git a/l10n_es_igic_reav/data/template/account.tax-es_full_canary.csv b/l10n_es_igic_reav/data/template/account.tax-es_full_canary.csv new file mode 100644 index 00000000000..0ab216ca176 --- /dev/null +++ b/l10n_es_igic_reav/data/template/account.tax-es_full_canary.csv @@ -0,0 +1,9 @@ +"id","name","name@es","name@ca","type_tax_use","amount","amount_type","description","description@es","description@ca","active","invoice_label","tax_group_id","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent" +"account_tax_template_p_igic_reav0","IGIC REAV non-deductible","IGIC Soportado no deducible REAV","IGIC Suportat no deduïble REAV","purchase","0.00","percent","P_IGIC_REAV","P_IGIC_REAV","P_IGIC_REAV","True","","tax_group_reav","base","invoice","","","100" +"","","","","","","","","","","","","","tax","invoice","","","100" +"","","","","","","","","","","","","","base","refund","","","100" +"","","","","","","","","","","","","","tax","refund","","","100" +"account_tax_template_s_igic_reav0","IGIC REAV included","IGIC Repercutido incluido REAV","IGIC Repercutit inclòs REAV","sale","0.00","percent","S_IGIC_REAV","S_IGIC_REAV","S_IGIC_REAV","True","","tax_group_reav","base","invoice","","","100" +"","","","","","","","","","","","","","tax","invoice","","","100" +"","","","","","","","","","","","","","base","refund","","","100" +"","","","","","","","","","","","","","tax","refund","","","100" diff --git a/l10n_es_igic_reav/data/template/account.tax-es_pymes_canary.csv b/l10n_es_igic_reav/data/template/account.tax-es_pymes_canary.csv new file mode 100644 index 00000000000..0ab216ca176 --- /dev/null +++ b/l10n_es_igic_reav/data/template/account.tax-es_pymes_canary.csv @@ -0,0 +1,9 @@ +"id","name","name@es","name@ca","type_tax_use","amount","amount_type","description","description@es","description@ca","active","invoice_label","tax_group_id","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/tag_ids","repartition_line_ids/account_id","repartition_line_ids/factor_percent" +"account_tax_template_p_igic_reav0","IGIC REAV non-deductible","IGIC Soportado no deducible REAV","IGIC Suportat no deduïble REAV","purchase","0.00","percent","P_IGIC_REAV","P_IGIC_REAV","P_IGIC_REAV","True","","tax_group_reav","base","invoice","","","100" +"","","","","","","","","","","","","","tax","invoice","","","100" +"","","","","","","","","","","","","","base","refund","","","100" +"","","","","","","","","","","","","","tax","refund","","","100" +"account_tax_template_s_igic_reav0","IGIC REAV included","IGIC Repercutido incluido REAV","IGIC Repercutit inclòs REAV","sale","0.00","percent","S_IGIC_REAV","S_IGIC_REAV","S_IGIC_REAV","True","","tax_group_reav","base","invoice","","","100" +"","","","","","","","","","","","","","tax","invoice","","","100" +"","","","","","","","","","","","","","base","refund","","","100" +"","","","","","","","","","","","","","tax","refund","","","100" diff --git a/l10n_es_igic_reav/models/__init__.py b/l10n_es_igic_reav/models/__init__.py new file mode 100644 index 00000000000..f8b66874852 --- /dev/null +++ b/l10n_es_igic_reav/models/__init__.py @@ -0,0 +1 @@ +from . import account_chart_template diff --git a/l10n_es_igic_reav/models/account_chart_template.py b/l10n_es_igic_reav/models/account_chart_template.py new file mode 100644 index 00000000000..f068d353d9b --- /dev/null +++ b/l10n_es_igic_reav/models/account_chart_template.py @@ -0,0 +1,35 @@ +from odoo import models + +from odoo.addons.account.models.chart_template import template + + +class AccountChartTemplate(models.AbstractModel): + _inherit = "account.chart.template" + + # es_pymes_canary chart + @template("es_pymes_canary", "account.tax") + def _get_es_pymes_canary_account_tax_reav(self): + additional = self._parse_csv( + "es_pymes_canary", "account.tax", module="l10n_es_igic_reav" + ) + return additional + + @template("es_pymes_canary", "account.fiscal.position") + def _get_es_pymes_canary_account_fiscal_position_reav(self): + return self._parse_csv( + "es_pymes_canary", "account.fiscal.position", module="l10n_es_igic_reav" + ) + + # es_full_canary chart + @template("es_full_canary", "account.tax") + def _get_es_full_canary_account_tax_reav(self): + additional = self._parse_csv( + "es_full_canary", "account.tax", module="l10n_es_igic_reav" + ) + return additional + + @template("es_full_canary", "account.fiscal.position") + def _get_es_full_canary_account_fiscal_position_reav(self): + return self._parse_csv( + "es_full_canary", "account.fiscal.position", module="l10n_es_igic_reav" + ) diff --git a/l10n_es_igic_reav/pyproject.toml b/l10n_es_igic_reav/pyproject.toml new file mode 100644 index 00000000000..4231d0cccb3 --- /dev/null +++ b/l10n_es_igic_reav/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/l10n_es_igic_reav/readme/CONTRIBUTORS.md b/l10n_es_igic_reav/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..d428846a780 --- /dev/null +++ b/l10n_es_igic_reav/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Dixmit](https://www.dixmit.com): + - Luis Rodríguez diff --git a/l10n_es_igic_reav/readme/DESCRIPTION.md b/l10n_es_igic_reav/readme/DESCRIPTION.md new file mode 100644 index 00000000000..a01defe819d --- /dev/null +++ b/l10n_es_igic_reav/readme/DESCRIPTION.md @@ -0,0 +1 @@ +Este módulo añade los impuestos necesarios en la localización fiscal canaria para adaptarlo a los casos en que se aplique el REAV. diff --git a/l10n_es_igic_reav/static/description/icon.png b/l10n_es_igic_reav/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/l10n_es_igic_reav/static/description/icon.png differ diff --git a/l10n_es_igic_reav/static/description/index.html b/l10n_es_igic_reav/static/description/index.html new file mode 100644 index 00000000000..2a8387ec1ce --- /dev/null +++ b/l10n_es_igic_reav/static/description/index.html @@ -0,0 +1,427 @@ + + + + + +L10n Es Igic Reav + + + +
+

L10n Es Igic Reav

+ + +

Beta License: AGPL-3 OCA/l10n-spain Translate me on Weblate Try me on Runboat

+

Este módulo añade los impuestos necesarios en la localización fiscal +canaria para adaptarlo a los casos en que se aplique el REAV.

+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Dixmit
  • +
+
+
+

Contributors

+
    +
  • Dixmit:
      +
    • Luis Rodríguez
    • +
    +
  • +
+
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

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.

+

This module is part of the OCA/l10n-spain project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ +