Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:22:59
Authors
Odoo Community Association (OCA), Coop IT Easy SC
Maintainers
Odoo Community Association (OCA), Coop IT Easy SC
Committers
OCA-git-bot, oca-ci, Antoni Marroig Campomar
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Set favorite product attributes and attribute values per company. Only
the favorite attributes and values will be displayed in the dropdown
menu in a product template form.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
attribute_tree_view product.attribute tree Inherits product.attribute_tree_view
product_attribute_view_form product.attribute form Inherits product.product_attribute_view_form
product_attribute_view_search product.attribute search New
product_template_only_form_view product_template_form_view product.template form Inherits product.product_template_only_form_view
res_config_settings_view_form res.config.settings form Inherits stock.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • is_favorite Boolean
    company_dependent=True default=True help='If checked, this record can be linked to a product template.' string='Favorite'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • is_favorite Boolean
    related='attribute_id.is_favorite'
Public methods (0)

No public methods.

New fields (2)
  • new_attribute_favorite_for_all_companies Boolean
    config_parameter='product_attribute_company_favorite.product_attribute_enable_for_all_companies' help="When a new attribute is created,\n set it as favorite for all companies.\n Otherwise it is only set as favorite for the user's current company" string='Set new attribute as favorite for all companies'
  • new_attribute_value_favorite_for_all_companies Boolean
    config_parameter='product_attribute_company_favorite.product_attribute_value_enable_for_all_companies' help="When a new attribute value is created,\n set it as favorite for all companies.\n Otherwise it is only set as favorite for the user's current company" string='Set new attributes value as favorite for all companies'
Public methods (0)

No public methods.

Loading…