Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 102 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 8.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.38 MB
Module directory on disk
Code analysis 7 migration notes 3 models 4 views 0 HTTP endpoints

Description

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 4

XML IDNameModelTypeStatus
crm_case_form_view_oppor_reason Opportunities - add Reason crm.lead form Inherits crm.crm_case_form_view_oppor
view_crm_lead_lost Reason for the lost crm.lead.lost form New
view_crm_lead_lost_reason_form Crm Lead Lost Reason crm.lead.lost.reason form New
view_crm_lead_lost_reason_tree Crm Lead Lost Reason crm.lead.lost.reason tree New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • lost_reason_id Many2one → crm.lead.lost.reason
    ondelete='restrict' readonly=True string='Reason for lost' args: 'crm.lead.lost.reason'
Public methods (1)
  • write(self, vals)
    @api.multi
    Check if a lost reason is given when you mark an opportunity as lost. If there is no lost reason, it indicates you to pass by form to provide a lost reason. It's the choice of the simplicity to avoid to struggle with kanban javascript code. Erases too the lost reason if the lead is passed from lost to another stage.

New fields (1)
  • reason_id Many2one → crm.lead.lost.reason
    default=_default_reason required=True string='Reason' args: 'crm.lead.lost.reason'
Public methods (1)
  • confirm_lost(self)
    @api.one

New fields (1)
  • name Char
    required=True translate=True args: 'Reason'
Public methods (0)

No public methods.