Repository
OCA/multi-company · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/multi-company
Last tracking update
2026-08-07 08:42:59
Authors
Odoo Community Association (OCA), ACS0NE SA/NV
Maintainers
Odoo Community Association (OCA), ACS0NE SA/NV
Committers
Weblate, OCA-git-bot, oca-ci, hda
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module adds support for multi company on crm stage.

The new multi company rule prevents any user without access to all stages to open
the CRM application. This behaviour comes from the kanban view and especially from
he read_group (_read_group_fill_results) which tries to retrieve fold information
from the stages even those without any lead. So to only do this on accessible
stages a search is made by the current user over the stage ids returned by the
group_expand method which is initially launched through a sudo.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
crm_lead_stage_search Stage - Search (in crm_stage_multi_company) crm.stage search Inherits crm.crm_lead_stage_search
crm_stage_form crm.stage.form (in crm_stage_multi_company) crm.stage form Inherits crm.crm_stage_form
crm_stage_tree crm.stage.tree (in crm_stage_multi_company) crm.stage tree Inherits crm.crm_stage_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (1)
  • stage_id Many2one
    check_company=True
Public methods (0)

No public methods.

New fields (1)
  • company_id Many2one → res.company
    default=<expr> help='Specific company that uses this stage. Other companies will not be able to see or use this stage.' index=True string='Company' args: 'res.company'
Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
121 days ago
Last activity
91 days ago
Repository
OCA/multi-company
Pull request
[19.0] [MIG] crm_stage_multi_company: Migrate to 19.0 (#989)
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
248 days ago
Last activity
109 days ago
Repository
OCA/multi-company
Pull request
[19.0][MIG] crm_stage_multi_company: Migration to 19.0 (#920)