Product Attribute Company Favorite

product_attribute_company_favorite
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/17.0/product_attribute_company_favorite
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Coop IT Easy SC
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Coop IT Easy SC
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Antoni Marroig Campomar
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits product.attribute_tree_view
product_attribute_view_form product.attribute field 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 xpath Inherits product.product_template_only_form_view
res_config_settings_view_form res.config.settings xpath Inherits stock.res_config_settings_view_form
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.

REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/16.0/product_attribute_company_favorite
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Coop IT Easy SC
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Coop IT Easy SC
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Victor Champonnois
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
attribute_tree_view product.attribute field Inherits product.attribute_tree_view
product_attribute_view_form product.attribute field 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 xpath Inherits product.product_template_only_form_view
res_config_settings_view_form res.config.settings div Inherits stock.res_config_settings_view_form
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.