Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 18 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis 0 migration notes 2 models 3 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…