Website Attribute Set

website_attribute_set
REPOSITORY
REPOSITORYOCA/odoo-pim
GIT
GIThttps://github.com/OCA/odoo-pim.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/odoo-pim/tree/19.0/website_attribute_set
VERSION
VERSION 1.1.4
CATEGORY
CATEGORYWebsite/Website
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Kencove
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Kencove
COMMITTERS
COMMITTERSJordi Ballester Alomar, Miquel Raïch, Weblate, OCA-git-bot, oca-ci, DavidJForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/odoo-pim
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/odoo-pim:
    - attribute_set
    - product_attribute_set
    - pim
odoo/odoo:
    - web
    - base
    - base_sparse_field
    - product
    - mail
    - base_setup
    - bus
    - web_tour
    - html_editor
    - uom
    - website
    - digest
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - html_builder
    - website_sale
    - sale
    - sales_team
    - account_payment
    - account
    - onboarding
    - analytic
    - payment
    - website_payment
    - website_mail
    - portal_rating
    - rating
    - delivery
    - payment_custom
    - website_sale_comparison
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows the user to display and select custom attribute created by attribute_set module in website and e-commerce apps.

Users can compare products based on their attributes and also their additional attributes.

Code Analysis

Views touched (18)
XML IDNameModelTypeStatus
accordion_specs_item_with_additional_attributes Specifications Accordion Item ir.ui.view qweb Inherits website_sale_comparison.accordion_specs_item
attribute_attribute_form_view attribute.attribute.form attribute.attribute data Inherits attribute_set.attribute_attribute_form_view
custom_specifications_table Specifications Table ir.ui.view qweb New
filter_multicheck_attributes Multi-check attributes in Filter ir.ui.view qweb New
filter_pills_attributes Pills attributes in Filter ir.ui.view qweb New
filter_radio_and_multi_attributes Radio and Multi attributes in Filter ir.ui.view qweb New
filter_range_attributes Range attributes in Filter ir.ui.view qweb New
filter_select_attributes Select attributes in Filter ir.ui.view qweb New
o_wsale_offcanvas Offcanvas ir.ui.view qweb Inherits website_sale.o_wsale_offcanvas
product_add_to_compare Add to comparison in product page ir.ui.view qweb Inherits website_sale_comparison.product_add_to_compare
product_additional_attribute_filters_form Product Attribute Filters Form ir.ui.view qweb Inherits website_sale.product_attribute_filters_form
product_additional_attributes_body Product attributes table ir.ui.view qweb Inherits website_sale_comparison.product_attributes_body
product_compare_with_additional_attributes Comparator Page ir.ui.view qweb Inherits website_sale_comparison.product_compare
product_with_additional_attributes Product ir.ui.view qweb Inherits website_sale.product
products_additional_attributes Attributes & Variants filters ir.ui.view qweb Inherits website_sale.products_attributes
products_attributes_collapsible Collapsed Attributes & Variants filters ir.ui.view qweb Inherits product_additional_attribute_filters_form
products_with_additional_attributes Products ir.ui.view qweb Inherits website_sale.products
variants variants ir.ui.view qweb Inherits website_sale.variants
Models touched (6)

New fields (8)
  • e_com_filter Boolean
    default=False help='If selected, the attribute will be shown as a filter\n in the e-commerce shop sidebar.'
  • e_com_multi_select Boolean
    default=False help='Allow selecting multiple values for this attribute filter.\n Products matching ANY selected value will be shown (OR logic).' string='E-Commerce Multi-Select'
  • e_com_range_filter Boolean
    default=False help='For numeric attributes (integer/float), show min/max range inputs\n instead of individual value selection in the shop filter.' string='E-Commerce Range Filter'
  • e_com_searchable Boolean
    default=False help='If selected, the attribute will be included in e-commerce search.\n Disable for large text fields to improve search performance.' string='E-Commerce Searchable'
  • e_com_show_count Boolean
    default=False help='Show the number of matching products next to each filter option.' string='E-Commerce Show Count'
  • e_com_specification Boolean
    default=False help='If selected, the attribute will be shown as specification\n in e-commerce website app product view.'
  • e_com_visibility Boolean
    default=False help='If selected, the attribute will be shown in e-commerce website app.' string='E-Commerce Visibility'
  • field_is_searchable Boolean
    compute='_compute_field_is_searchable' help='Whether the underlying field can be searched (stored in SQL or has a search method).'
Public methods (2)
  • onchange_e_com_filter(self)
    @api.onchange('e_com_filter')
  • onchange_e_com_visibility(self)
    @api.onchange('e_com_visibility')

New fields (0)

No new fields.

Public methods (1)
  • get_extra_attributes(self)
    Get extra product's attribute for e-commerce website. Walks the attribute set hierarchy so that a product assigned to a child set also exposes the attributes inherited from any ancestor set, matching the behaviour of the backend form view.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_extra_attribute_values(self, extra_attribute=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.