website_product_document_download_counter
This module tracks the number of downloads for product documents on the Odoo website.
Key Features
- product.document: Adds a download count field to track the number of times a document has been downloaded.
- product.document: Adds a boolean field to enable download counting for documents published on the website.
- product.document: Provides a method to increment the download count with validations for active and published documents.
- website: Modifies the product page to use a new download route that increments the download counter.
- website: Adds a controller to handle document downloads with automatic counter increment.
- product.document: Displays the download count and enable toggle in the document form and kanban views.