Skip to main content
Odoo Community Association

Website Sale Product Document Variant

Beta License: AGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

Standard Odoo blocks publishing a product document that is attached to a specific variant instead of the whole product: the “Publish on website” option is hidden and cannot be enabled for it.

This module lifts that limitation. A document attached to a variant can be published, is shown on the product page alongside the product’s own documents for whichever variant the customer currently has selected, and the list refreshes automatically – without reloading the page – when the customer switches variant. The section disappears entirely when the selected variant has no published document. Downloading such a document is only allowed while it is published.

Table of contents

Usage

  1. On a product’s variant (Sales > Products > Variants, or the “Variants” smart button on a product), open the Documents tab (or the linked Attachments) and enable “Publish on website” on the document, exactly as already possible for a document attached to the whole product.

  2. On the eCommerce product page, the document appears in the “Documents” section together with the product’s own published documents, for as long as that variant stays selected. Selecting a different variant refreshes the list to that variant’s own documents, without a page reload.

Bug Tracker

Bugs are tracked on GitHub 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.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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/e-commerce project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-website-sale-product-document-variant 19.0.1.0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-website-sale-product-document-variant 19.0.1.0.0.4
File Interpreter ABI Platform
odoo_addon_website_sale_product_document_variant-19.0.1.0.0.4-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_website_sale_product_document_variant-19.0.1.0.0.4-py3-none-any.whl

Download URL odoo_addon_website_sale_product_document_variant-19.0.1.0.0.4-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d562a7eb30944cb71cd611771c9ce9a60891a7c3e7543546aa76b4be7c84cef
BLAKE2b-256 checksum
How to use checksums
d0ce4bb3f4ca65b0dbb4a5147c2fc088f9e65abe7cc8363bbf12f42f10789c25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

19.0.1.0.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page