Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend 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
0
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.07 MB
Module directory on disk
Code analysis 0 migration notes 3 models 5 views 1 HTTP endpoint

Description

On the eCommerce product page, the "Specifications" display added by website_sale_comparison (shown as a table, an accordion item, or both, depending on the theme's display options) lists every attribute of the product, whose values can be restricted to specific variant combinations via the attribute value's "Exclude for" configuration.

Without this module, that display always lists every configured value of such an attribute, and never updates when the customer changes the selected variant. This module makes it show only the value(s) actually compatible with the combination currently selected on the page, and refreshes it when the customer changes variant. This applies to every attribute type, not only non-variant-defining ("informative") ones. On the product page, an attribute with no value left for the selected variant is not listed, and neither is a category left without attributes.

The comparison page (/shop/compare) is covered too: for each compared product, a non-variant-defining attribute only lists the value(s) compatible with that product's own variant. Variant-defining attributes are unaffected there, since the comparison page already shows each product's own actual value for them.

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
accordion_specs_item_specification_exclusion accordion_specs_item_specification_exclusion ir.ui.view qweb Inherits website_sale_comparison.accordion_specs_item
product_attributes_body_specification_exclusion product_attributes_body_specification_exclusion ir.ui.view qweb Inherits website_sale_comparison.product_attributes_body
product_specifications_accordion_content product_specifications_accordion_content ir.ui.view qweb New
product_specifications_content product_specifications_content ir.ui.view qweb New
specifications_table_specification_exclusion specifications_table_specification_exclusion ir.ui.view qweb Inherits website_sale_comparison.specifications_table

HTTP endpoints 1

Route(s)HandlerAuthTypeMethodsFlags
/website_sale/get_combination_info WebsiteSaleSpecificationExclusionVariantController.get_combination_info_website public jsonrpc POST website

Models touched 3

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.