Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 109 additions & 0 deletions l10n_es_digital_canon/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=============
Canon digital
=============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:40a711a44d75a3c9de096bd5bab59a9836aa88d789a1e416e1fe89d4b57df332
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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_digital_canon
: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_digital_canon
: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 aplica el canon digital español como impuesto en ventas y
compras, según el Real Decreto 209/2023. El canon se excluye
automáticamente si el país de destino no es España o si el
cliente/proveedor está marcado como exento.

`BOE <https://www.boe.es/boe/dias/2023/03/29/pdfs/BOE-A-2023-7941.pdf>`__
`Ventanilla <https://www.ventanillaunica.digital/VU_Tarifas.aspx>`__

**Table of contents**

.. contents::
:local:

Usage
=====

En la ficha de producto, en la pestaña de información general, asignar
la Categoría Canon digital. Ahora, al crear una factura, un pedido de
venta o un pedido de compra, si el destino del mismo es España y no está
exento, se aplicará como impuesto el tipo de canon asignado previamente.

Para marcar al partner como exento, vaya a la ficha del partner y, en la
pestaña de ventas y compras, en la sección de información fiscal, marque
la casilla "Exento de canon digital".

- El canon se considera aplicable solo cuando el producto se entrega en
España y el cliente no está marcado como exento.

- En el caso de un proveedor español que no desglosa el canon en
factura, se considerará exento, y no se aplicará ningún canon en la
compra.

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_digital_canon%0Aversion:%2017.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
-------

* Tecnativa

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

- `Tecnativa <https://www.tecnativa.com>`__

- Juan Carlos Oñate
- Pedro M. Baeza
- Eduardo Ezrouali

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 <https://github.com/OCA/l10n-spain/tree/17.0/l10n_es_digital_canon>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_es_digital_canon/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions l10n_es_digital_canon/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2025 Juan Carlos Oñate - Tecnativa <juancarlos.onate@tecnativa.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Canon digital",
"summary": "Aplicación automática del canon digital en facturas, ventas y compras",
"version": "17.0.1.0.0",
"website": "https://github.com/OCA/l10n-spain",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["l10n_es", "purchase", "sale"],
"data": [
"reports/invoice_document_report.xml",
"views/res_partner_views.xml",
"views/product_product_views.xml",
],
"installable": True,
}
153 changes: 153 additions & 0 deletions l10n_es_digital_canon/data/template/account.tax-es_common.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
"id","sequence","active","description","invoice_label","type_tax_use","name","amount","amount_type","tax_group_id","include_base_amount","repartition_line_ids/repartition_type","repartition_line_ids/tag_ids","repartition_line_ids/document_type","repartition_line_ids/account_id","repartition_line_ids/factor_percent"
"tax_template_canon_purchase_0","0","True","Canon digital","Canon 0€","purchase","Canon 0€","0","fixed","tax_group_digital_canon_0_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_0","0","True","Canon digital","Canon 0€","sale","Canon 0€","0","fixed","tax_group_digital_canon_0_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_0_08","0","True","Canon digital","Canon 0.08€","purchase","Canon 0.08€","0.08","fixed","tax_group_digital_canon_0_08_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_0_08","0","True","Canon digital","Canon 0.08€","sale","Canon 0.08€","0.08","fixed","tax_group_digital_canon_0_08_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_0_21","0","True","Canon digital","Canon 0.21€","purchase","Canon 0.21€","0.21","fixed","tax_group_digital_canon_0_21_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_0_21","0","True","Canon digital","Canon 0.21€","sale","Canon 0.21€","0.21","fixed","tax_group_digital_canon_0_21_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_0_24","0","True","Canon digital","Canon 0.24€","purchase","Canon 0.24€","0.24","fixed","tax_group_digital_canon_0_24_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_0_24","0","True","Canon digital","Canon 0.24€","sale","Canon 0.24€","0.24","fixed","tax_group_digital_canon_0_24_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_0_9","0","True","Canon digital","Canon 0.9€","purchase","Canon 0.9€","0.9","fixed","tax_group_digital_canon_0_9_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_0_9","0","True","Canon digital","Canon 0.9€","sale","Canon 0.9€","0.9","fixed","tax_group_digital_canon_0_9_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_1","0","True","Canon digital","Canon 1.0€","purchase","Canon 1.0€","1.0","fixed","tax_group_digital_canon_1_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_1","0","True","Canon digital","Canon 1.0€","sale","Canon 1.0€","1.0","fixed","tax_group_digital_canon_1_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_1_1","0","True","Canon digital","Canon 1.1€","purchase","Canon 1.1€","1.1","fixed","tax_group_digital_canon_1_1_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_1_1","0","True","Canon digital","Canon 1.1€","sale","Canon 1.1€","1.1","fixed","tax_group_digital_canon_1_1_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_1_5","0","True","Canon digital","Canon 1.5€","purchase","Canon 1.5€","1.5","fixed","tax_group_digital_canon_1_5_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_1_5","0","True","Canon digital","Canon 1.5€","sale","Canon 1.5€","1.5","fixed","tax_group_digital_canon_1_5_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_2","0","True","Canon digital","Canon 2€","purchase","Canon 2€","2","fixed","tax_group_digital_canon_2_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_2","0","True","Canon digital","Canon 2€","sale","Canon 2€","2","fixed","tax_group_digital_canon_2_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_2_5","0","True","Canon digital","Canon 2.5€","purchase","Canon 2.5€","2.5","fixed","tax_group_digital_canon_2_5_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_2_5","0","True","Canon digital","Canon 2.5€","sale","Canon 2.5€","2.5","fixed","tax_group_digital_canon_2_5_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_3","0","True","Canon digital","Canon 3€","purchase","Canon 3€","3","fixed","tax_group_digital_canon_3_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_3","0","True","Canon digital","Canon 3€","sale","Canon 3€","3","fixed","tax_group_digital_canon_3_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_3_15","0","True","Canon digital","Canon 3.15€","purchase","Canon 3.15€","3.15","fixed","tax_group_digital_canon_3_15_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_3_15","0","True","Canon digital","Canon 3.15€","sale","Canon 3.15€","3.15","fixed","tax_group_digital_canon_3_15_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_3_25","0","True","Canon digital","Canon 3.25€","purchase","Canon 3.25€","3.25","fixed","tax_group_digital_canon_3_25_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_3_25","0","True","Canon digital","Canon 3.25€","sale","Canon 3.25€","3.25","fixed","tax_group_digital_canon_3_25_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_3_75","0","True","Canon digital","Canon 3.75€","purchase","Canon 3.75€","3.75","fixed","tax_group_digital_canon_3_75_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_3_75","0","True","Canon digital","Canon 3.75€","sale","Canon 3.75€","3.75","fixed","tax_group_digital_canon_3_75_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_4","0","True","Canon digital","Canon 4€","purchase","Canon 4€","4","fixed","tax_group_digital_canon_4_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_4","0","True","Canon digital","Canon 4€","sale","Canon 4€","4","fixed","tax_group_digital_canon_4_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_5","0","True","Canon digital","Canon 5€","purchase","Canon 5€","5","fixed","tax_group_digital_canon_5_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_5","0","True","Canon digital","Canon 5€","sale","Canon 5€","5","fixed","tax_group_digital_canon_5_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_5_25","0","True","Canon digital","Canon 5.25€","purchase","Canon 5.25€","5.25","fixed","tax_group_digital_canon_5_25_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_5_25","0","True","Canon digital","Canon 5.25€","sale","Canon 5.25€","5.25","fixed","tax_group_digital_canon_5_25_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_5_33","0","True","Canon digital","Canon 5.33€","purchase","Canon 5.33€","5.33","fixed","tax_group_digital_canon_5_33_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_5_33","0","True","Canon digital","Canon 5.33€","sale","Canon 5.33€","5.33","fixed","tax_group_digital_canon_5_33_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_purchase_6_45","0","True","Canon digital","Canon 6.45€","purchase","Canon 6.45€","6.45","fixed","tax_group_digital_canon_6_45_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
"tax_template_canon_sale_6_45","0","True","Canon digital","Canon 6.45€","sale","Canon 6.45€","6.45","fixed","tax_group_digital_canon_6_45_template","True","base","","invoice","",""
"","","","","","","","","","","","tax","","invoice","",""
"","","","","","","","","","","","base","","refund","",""
"","","","","","","","","","","","tax","","refund","",""
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"id","name","sequence"
"tax_group_digital_canon_0_template","Canon digital 0€","5"
"tax_group_digital_canon_0_08_template","Canon digital 0.08€","5"
"tax_group_digital_canon_0_21_template","Canon digital 0.21€","5"
"tax_group_digital_canon_0_24_template","Canon digital 0.24€","5"
"tax_group_digital_canon_0_9_template","Canon digital 0.9€","5"
"tax_group_digital_canon_1_template","Canon digital 1€","5"
"tax_group_digital_canon_1_1_template","Canon digital 1.1€","5"
"tax_group_digital_canon_1_5_template","Canon digital 1.5€","5"
"tax_group_digital_canon_2_template","Canon digital 2€","5"
"tax_group_digital_canon_2_5_template","Canon digital 2.5€","5"
"tax_group_digital_canon_3_template","Canon digital 3€","5"
"tax_group_digital_canon_3_15_template","Canon digital 3.15€","5"
"tax_group_digital_canon_3_25_template","Canon digital 3.25€","5"
"tax_group_digital_canon_3_75_template","Canon digital 3.75€","5"
"tax_group_digital_canon_4_template","Canon digital 4€","5"
"tax_group_digital_canon_5_template","Canon digital 5€","5"
"tax_group_digital_canon_5_25_template","Canon digital 5.25€","5"
"tax_group_digital_canon_5_33_template","Canon digital 5.33€","5"
"tax_group_digital_canon_6_45_template","Canon digital 6.45€","5"
Loading
Loading