TIP: You can type at any time to perform a new search.
Sequential Code for Leads / Opportunities
crm_lead_code · OCA/crm
Security findings
Migration considerations
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE crm_lead SET code = id;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE crm_lead SET code = %s WHERE id = %s;` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/crm
- Last tracking update
- 2026-08-07 09:06:23
- Authors
- Odoo Community Association (OCA), AvanzOSC, Tecnativa
- Maintainers
- Odoo Community Association (OCA), AvanzOSC, Tecnativa
- Committers
- Christopher Rogos, Weblate, OCA-git-bot, oca-ci
Code Analysis
Views touched (6)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
crm_case_kanban_view_leads_inherit |
crm.lead.kanban.lead | crm.lead | kanban | Inherits crm.crm_case_kanban_view_leads |
crm_case_tree_view_leads_inherit |
crm.lead.tree.lead | crm.lead | tree | Inherits crm.crm_case_tree_view_leads |
crm_case_tree_view_oppor_inherit |
crm.lead.tree.opportunity | crm.lead | tree | Inherits crm.crm_case_tree_view_oppor |
crm_lead_view_form_inherit |
crm.lead.form | crm.lead | form | Inherits crm.crm_lead_view_form |
view_crm_case_leads_filter_inherit |
crm.lead.search.lead | crm.lead | search | Inherits crm.view_crm_case_leads_filter |
view_crm_case_opportunities_filter_inherit |
crm.lead.search.opportunity | crm.lead | search | Inherits crm.view_crm_case_opportunities_filter |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (1)
-
codeCharcopy=Falsedefault='/'readonly=Truerequired=Truestring='Lead Number'
-
create(self, vals_list)@api.model_create_multi
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…