Repository
odoo/odoo · module folder
Module version
1.0
Category
Website/Website
Folder size
0.77 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-08-15 22:44:20
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Aaron Bohy, Géry Debongnie, Julien Castiaux, Victor Feyens, Tiffany Chang (tic), Gorash, William Braeckman, Valentin Chevalier, Levi Siuzdak (sile), Dylan Kiss (dyki), Louis (loti), Serge Bayet (seba), Lina (liew), Chrysanthe (chgo), Xavier Luyckx (xlu), Stéphane Diez, Antoine (anso), Manushi Shah, Pierre Pulinckx (PIPU), dija-odoo, Pierre Lamotte (pila), Pierre Pulinckx, Bastien PIERRE, nikj-odoo, Mahdi Alijani (malj), Augustin (duau), Alessandro Lupo, Khaj-odoo, khaj-odoo, chpa-odoo, panj-odoo
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
test_website_modules, website_attribute_set, website_sale_comparison_specification_variant, website_sale_comparison_wishlist
Description
This module adds a comparison tool to your eCommerce shop, so that your shoppers can easily compare products based on their attributes. It will considerably accelerate their purchasing decision.

To configure product attributes, activate *Attributes & Variants* in the Website settings. This will add a dedicated section in the product form. In the configuration, this module adds a category field to product attributes in order to structure the shopper's comparison table.

Finally, the module comes with an option to display an attribute summary table in product web pages (available in Customize menu).
    

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
accordion_specs_item Specifications Accordion Item ir.ui.view qweb Inherits website_sale.product_accordion
product_add_to_compare Add to comparison in product page ir.ui.view qweb Inherits website_sale.cta_wrapper
product_attribute_category_tree_view product.attribute.category.list product.attribute.category list New
product_attribute_tree_view_inherit product.attribute.list.inherit product.attribute list Inherits product.attribute_tree_view
product_attribute_view_form product.attribute.form.inherit product.attribute form Inherits website_sale.product_attribute_view_form
product_attributes_body Product attributes table ir.ui.view qweb Inherits website_sale.product
product_compare Comparator Page ir.ui.view qweb New
specifications_table Specifications Table ir.ui.view qweb New
website_sale_comparison.add_to_compare Comparison List Button ir.ui.view qweb Inherits website_sale.shop_product_buttons
HTTP endpoints (2)
Route(s)HandlerAuthTypeMethodsFlags
/shop/compare/get_product_data WebsiteSaleProductComparison.get_product_data public jsonrpc ALL website
/shop/compare WebsiteSaleProductComparison.product_compare public http ALL website
Models touched (4)

New fields (1)
  • category_id Many2one → product.attribute.category
    comodel_name='product.attribute.category' help='Set a category to regroup similar attributes under the same section in the Comparison page of eCommerce.' index=True string='eCommerce Category'
Public methods (0)

No public methods.

New fields (3)
  • attribute_ids One2many → product.attribute
    domain="[('category_id', '=', False)]" string='Related Attributes' args: 'product.attribute', 'category_id'
  • name Char
    required=True translate=True args: 'Category Name'
  • sequence Integer
    default=10 index=True args: 'Sequence'
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.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…