Product Categories - Company Favorites

product_category_company_favorite
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/16.0/product_category_company_favorite
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_product_category_form product.category field Inherits product.product_category_form_view
view_product_category_search product.category field Inherits product.product_category_search_view
view_product_category_tree product.category field Inherits product.product_category_list_view
Models touched (2)

New fields (1)
  • is_favorite Boolean
    company_dependent=True help='If this field is unchecked, the category will be hidden when searching category in a drop-down list like in the product form view.' string='Favorite'
Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_parent_id_favorite(self)
    @api.onchange('parent_id')
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/12.0/product_category_company_favorite
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_product_category_form product.category field Inherits product.product_category_form_view
view_product_category_search product.category field Inherits product.product_category_search_view
view_product_category_tree product.category field Inherits product.product_category_list_view
Models touched (2)

New fields (1)
  • is_favorite Boolean
    company_dependent=True help='If this field is unchecked, the category will be hidden when searching category in a drop-down list like in the product form view.' string='Favorite'
Public methods (3)
  • create(self, vals)
    @api.model
  • onchange_parent_id_favorite(self)
    @api.onchange('parent_id')
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • create(self, vals)
    @api.model