OdooWiki OCA HUB

Spain - Digital Canon in Website Sale

l10n_es_digital_canon_website_sale folder_open OCA/l10n-spain open_in_new
Uncategorised License: AGPL-3

Desglosar y mostrar por separado el Canon digital español en el total del carrito de compra del sitio web.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Shows the Spanish digital canon as a separate line in the website shopping cart total, so online customers see the canon apart from ordinary taxes.

This module adds a dedicated "Digital Canon" line to the totals block of the website shopping cart, right after the normal taxes line. The regular taxes line is adjusted so it no longer includes the canon, avoiding double counting.

It also affects how prices are calculated on the website: - When website prices are shown tax-included, the digital canon tax is added to the displayed price for products that carry a canon. - The canon is not added for customers marked as exempt from the digital canon, nor for customers whose country is set and is not Spain. - On website orders, the canon tax is automatically attached to the order line when the product has a canon, the order comes from the website, and the customer has no country set and is not exempt.

The canon is recognised by its tax group name starting with "Canon digital". The module touches product templates, sales order lines and the website cart totals template. It depends on the Spanish digital canon module and on the website sale module.

Depends on

Models and fields (2)
  • sale.order.line · extends an existing model
  • product.template · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-spain.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.