TIP: You can type at any time to perform a new search.
Opportunity Lost Reason
crm_lead_lost_reason · OCA/crm
Security findings
Migration considerations
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- For a target of Odoo 10.0+: use the `__manifest__.py` manifest name instead of `__openerp__.py`. The filename alone does not establish module age or compatibility. migration-openerp-manifest · source
crm_case_form_view_oppor_reason— For a target of Odoo 17.0+: view 'crm_case_form_view_oppor_reason' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_crm_lead_lost_reason_tree— View 'view_crm_lead_lost_reason_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/crm · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Customer Relationship Management
- Folder size
- 0.38 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 07:03:04
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Stéphane Bidoul, Jacques-Etienne Baudoux, Romain Deheele, Alexandre Fayolle, GitHub, Stéphane Bidoul (ACSONE), Weblate, OCA Transbot, Damien Crier, oca-travis
Code Analysis
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_idMany2one → crm.lead.lost.reasonondelete='restrict'readonly=Truestring='Reason for lost' args: 'crm.lead.lost.reason'
-
write(self, vals)@api.multiCheck 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_idMany2one → crm.lead.lost.reasondefault=_default_reasonrequired=Truestring='Reason' args: 'crm.lead.lost.reason'
-
confirm_lost(self)@api.one
New fields (1)
-
nameCharrequired=Truetranslate=True args: 'Reason'
No public methods.