Canon digital

l10n_es_digital_canon
REPOSITORY
REPOSITORYOCA/l10n-spain
GIT
GIThttps://github.com/OCA/l10n-spain.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-spain/tree/18.0/l10n_es_digital_canon
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSsergio-teruel, OCA-git-bot, oca-ci, eduezerouali-tecnativa
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-spain
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - purchase
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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)

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
report_invoice_document_line_canon_manager report_invoice_document_line_canon_manager ir.ui.view qweb Inherits account.report_invoice_document
view_partner_form res.partner.form.inherit res.partner field Inherits base.view_partner_form
view_product_template_form_inherit_canon_category product.template.form.inherit.canon.category product.template field Inherits product.product_template_form_view
Models touched (8)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • l10n_es_digital_canon Selection
    string='Digital Canon Category' args: [('3_75.tablet_32', 'Tablet hasta 32 Gb - 3,75'), ('3_75.tablet_64', 'Tablet de 32,01 Gb hasta 64 Gb - 3,75'), ('3_75.tablet_64_plus', 'Tablet de más de 64,01 Gb - 3,75'), ('3_25.phone_64', 'Teléfono inteligente hasta 64 Gb - 3,25'), ('3_25.phone_128', 'Teléfono inteligente de 64,01 Gb. A 128 Gb - 3,25'), ('3_25.phone_128_plus', 'Teléfono inteligente de más de 128 Gb - 3,25'), ('2_5.watch_multimedia', 'Reloj inteligente multimedia - 2,5'), ('2_5.watch_monofunc', 'Reloj inteligente monofunción - 2,5'), ('5_33.pc_1tb', 'PC sobremesa y portatil hasta 1 Tb - 5,33'), ('5_33.pc_6tb', 'PC sobremesa y portatil de 1,01 Tb. Hasta 6 Tb - 5,33'), ('5_33.pc_6tb_plus', 'PC sobremesa y portatil de más de 6,01 Tb - 5,33'), ('0_9.hdd_1tb', 'HDD Para integrar hasta 1 Tb - 0,9'), ('1_5.hdd_6tb', 'HDD Para integrar de 1,01 Tb. Hasta 6 Tb - 1,5'), ('3.hdd_6tb_plus', 'HDD Para integrar más de 6,01 Tb - 3'), ('0_9.sdd_256gb', 'SDD Para integrar hasta 256 Gb - 0,9'), ('1_5.sdd_1tb', 'SDD Para integrar de 256,01 Gb. Hasta 1 Tb - 1,5'), ('3.sdd_1tb_plus', 'SDD Para integrar de más de 1,01 Tb - 3'), ('3.equipo_1tb', 'Equipo con disco integrado hasta 1 Tb - 3'), ('4.equipo_6tb', 'Equipo con disco integrado de 1,01 Tb. Hasta 6 Tb - 4'), ('5.equipo_6tb_plus', 'Equipo con disco integrado más de 6,01 Tb - 5'), ('5_25.equipo_multifunc', 'Equipo multifunción de reprografía hasta 39 copias - 5,25'), ('5_25.equipo_multifunc_39', 'Equipo multifunción de reprografía de más de 39 copias - 5,25'), ('4.impresora_39', 'Impresora monofunción hasta 39 copias - 4'), ('0.impresora_39_plus', 'Impresora monofuncional de más de 39 copias - 0'), ('3.escanner_29ppm', 'Escáner con pantalla de exposición de hasta 29 ppm - 3'), ('3.escanner_hand', 'Escáner de mano - 3'), ('4.hdd_periferico_6tb', 'Disco duro periférico HDD hasta 6 Tb - 4'), ('6_45.hdd_periferico_6tb', 'Disco duro periférico HDD de más de 6,01 Tb - 6,45'), ('4.sdd_periferico_1tb', 'Disco duro periférico SSD hasta 1 Tb - 4'), ('6_45.sdd_periferico_1tb', 'Disco duro periférico SSD de más de 1,01 Tb - 6,45'), ('0_24.tarjeta_memoria_64', 'Tarjeta de memoria hasta 64 Gb - 0,24'), ('0_24.tarjeta_memoria_64_plus', 'Tarjeta de memoria de más de 64,01 Gb - 0,24'), ('0_24.memoria_usb_64', 'Memoria USB hasta 64 Gb - 0,24'), ('0_24.memoria_usb_64_plus', 'Memoria USB de más de 64,01 Gb - 0,24'), ('3_15.mp3', 'Reproductor MP3 - 3,15'), ('3_15.mp4', 'Reproductor MP4 - 3,15'), ('1_1.phone_mp3', 'Teléfono móvil no inteligente con MP3 - 1,1'), ('2.ebook_monofunc', 'Libro electrónico monofunción - 2'), ('3_15.ebook_multimedia', 'Libro electrónico multimedia - 3,15'), ('0_08.cd', 'CD - 0,08'), ('0_21.dvd', 'DVD y Blu-ray - 0,21'), ('1.grabadora_cd_dvd', 'Grabadora externa y para integrar CD/DVD - 1')]
Public methods (0)

No public methods.

New fields (1)
  • l10n_es_digital_canon Selection
    compute='_compute_l10n_es_digital_canon' inverse='_inverse_l10n_es_digital_canon' search='_search_l10n_es_digital_canon' selection=<expr> string='Digital Canon Category'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • digital_canon_exempt_type Selection
    help='Type of exemption applied to the customer/vendor for the digital canon.' selection=[('administracion', 'Administraciones Públicas'), ('certificado', 'Personas jurídicas o físicas con certificado de exceptuación'), ('productores', 'Productores audiovisuales y/o productores fonográficos'), ('no_desglosa', 'Proveedor nacional que no desglosa el canon')] string='Exemption type'
  • is_digital_canon_exempt Boolean
    default=False help='Enable this option if the customer or vendor is exempt from the digital canon.' string='Exempt from digital canon'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/l10n-spain
PULL REQUEST
PULL REQUEST[MIG] l10n_es_digital_canon: Migration to 17.0 (#4906)