Skip to content
Health
67/100
fair
  • Security22/25
    1 minor finding
  • Activity25/25
    Last human commit 3 months ago
  • Required by15/25
    1 module depends on it
  • Maturity5/25
    In 1 Odoo series since 19.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 5 views 2 HTTP endpoints

Description

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.

Dependencies

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
product_document_form product.document form Inherits website_sale.product_document_form
product_document_kanban product.document kanban Inherits website_sale.product_document_kanban
product_document_list product.document list Inherits website_sale.product_document_list
product_documents_content product_documents_content ir.ui.view qweb New
product_documents_variant_aware Product Page Documents Include Variant Documents ir.ui.view qweb Inherits website_sale.product

HTTP endpoints 2

Route(s)HandlerAuthTypeMethodsFlags
/shop/<model("product.template"):product_template>/document/<int:document_id> WebsiteSaleProductDocumentVariant.product_document public http ALL sudo website
/website_sale/get_combination_info WebsiteSaleProductDocumentVariantController.get_combination_info_website public jsonrpc POST website

Models touched 2

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.