Crm Stage Multi Company
crm_stage_multi_company · OCA/multi-company
-
Security25/25No findings
-
Activity12/25Last human commit 18 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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
-
stage_idMany2onecheck_company=True
No public methods.
-
company_idMany2one → res.companydefault=<expr>help='Specific company that uses this stage. Other companies will not be able to see or use this stage.'index=Truestring='Company' args: 'res.company'
No public methods.
Loading…
Loading…
Loading…