Website Product Document Download Counter
This module allows you to track how many times product-related documents are downloaded from the Odoo website.
Main features:
- Automatic logging of the number of downloads for documents attached to products.
- View download statistics per product.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Track how many times product documents are downloaded from your Odoo website. Enable counting per document and see the totals on the product document form and kanban cards.
This module adds download tracking to the documents you publish on product pages in your Odoo website shop.
- On each product document you get a new "Count Downloads" toggle. It only appears when the document is set to be shown on the product page. When the toggle is on, every download from the website increases a counter.
- The download counter itself is shown as a read-only number on the document form and as a small badge with a download icon on the document kanban card, so you can quickly see the most popular files.
- On the website, the document links on the product page are redirected to a dedicated download route that first checks the document is active and shown on the product page, then increases the counter before serving the file.
- If a document is inactive or not shown on the product page, the download is refused with an error message and the counter is not increased.
- The counter is only increased when the "Count Downloads" option is enabled for that document.
The module works together with the website shop (website_sale) and extends the product.document model. It does not add new menus; the new fields appear inside the existing product document form and kanban views.
Depends on
Models and fields (1)
- product.document · extends an existing modeldownload_count, download_count_enabled
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-03Confirmation 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/website.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0Activate the "Count downloads" switch on a product document kanban tile. This checkbox is shown only if the "Publish on website" switch is already activated. A download counter will be displayed on the kanban tile.
- Activate the "Count downloads" switch on the product document kanban tile.
- When a user downloads a document from the website, the download counter will automatically increment.
No verified information in OCA: Installation, Configuration.
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.
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.