Company Categories

res_company_category
REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/18.0/res_company_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - res_company_search_view
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds company categories concept.

On the company form view, you can set the category of the company.

This module is usefull for statistical purposes, in a multi company
context.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_res_company_category_form res.company.category form New
view_res_company_category_tree res.company.category list New
view_res_company_form res.company field Inherits base.view_company_form
view_res_company_search res.company field Inherits res_company_search_view.view_res_company_search
view_res_company_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (1)
  • category_id Many2one → res.company.category
    comodel_name='res.company.category' domain=[('type', '=', 'normal')] string='Category'
Public methods (0)

No public methods.

New fields (9)
  • active Boolean
    default=True
  • child_ids One2many → res.company.category
    comodel_name='res.company.category' inverse_name='parent_id' string='Category Childs'
  • company_ids One2many → res.company
    comodel_name='res.company' inverse_name='category_id' string='Companies'
  • company_qty Integer
    compute='_compute_company_qty' recursive=True store=True string='Companies Quantity'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True
  • name Char
    required=True
  • parent_id Many2one → res.company.category
    comodel_name='res.company.category' domain=[('type', '=', 'view')] string='Parent Category'
  • parent_path Char
    index=True
  • type Selection
    default='normal' required=True selection=_TYPE_SELECTION
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/16.0/res_company_category
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
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:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/multi-company:
    - res_company_search_view
odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_res_company_category_form res.company.category header New
view_res_company_category_tree res.company.category tree New
view_res_company_form res.company field Inherits base.view_company_form
view_res_company_search res.company field Inherits res_company_search_view.view_res_company_search
view_res_company_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (1)
  • category_id Many2one → res.company.category
    comodel_name='res.company.category' domain=[('type', '=', 'normal')] string='Category'
Public methods (0)

No public methods.

New fields (9)
  • active Boolean
    default=True
  • child_ids One2many → res.company.category
    comodel_name='res.company.category' inverse_name='parent_id' string='Category Childs'
  • company_ids One2many → res.company
    comodel_name='res.company' inverse_name='category_id' string='Companies'
  • company_qty Integer
    compute='_compute_company_qty' recursive=True store=True string='Companies Quantity'
  • complete_name Char
    compute='_compute_complete_name' recursive=True store=True
  • name Char
    required=True
  • parent_id Many2one → res.company.category
    comodel_name='res.company.category' domain=[('type', '=', 'view')] string='Parent Category'
  • parent_path Char
    index=True unaccent=False
  • type Selection
    default='normal' required=True selection=_TYPE_SELECTION
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/multi-company
GIT
GIThttps://github.com/OCA/multi-company.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/multi-company/tree/12.0/res_company_category
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
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-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/multi-company
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_res_company_category_form res.company.category header New
view_res_company_category_tree res.company.category tree New
view_res_company_form res.company field Inherits base.view_company_form
view_res_company_tree res.company field Inherits base.view_company_tree
Models touched (2)

New fields (1)
  • category_id Many2one → res.company.category
    comodel_name='res.company.category' domain=[('type', '=', 'normal')] string='Category'
Public methods (0)

No public methods.

New fields (7)
  • child_ids One2many → res.company.category
    comodel_name='res.company.category' inverse_name='parent_id' string='Category Childs'
  • company_ids One2many → res.company
    comodel_name='res.company' inverse_name='category_id' string='Companies'
  • company_qty Integer
    compute='_compute_company_qty' store=True string='Companies Quantity'
  • complete_name Char
    compute='_compute_complete_name' store=True string='Complete Name'
  • name Char
    required=True string='Name'
  • parent_id Many2one → res.company.category
    comodel_name='res.company.category' domain=[('type', '=', 'view')] string='Parent Category'
  • type Selection
    default='normal' required=True selection=_TYPE_SELECTION string='Type'
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/multi-company
PULL REQUEST
PULL REQUEST[17.0][MIG] res_company_category: Migration to 17.0 (#794)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/multi-company
PULL REQUEST
PULL REQUEST[19.0][MIG] res_company_category: Migration to 19.0 (#930)