crm_lead_code
Assign sequential identifiers to CRM leads and opportunities and show them alongside their names for easier tracking.
Key Features
- crm.lead: Adds a required unique code field automatically filled from a sequence when a lead or opportunity is created.
- ir.sequence: Defines a dedicated LD-prefixed sequence to generate lead codes with consistent padding.
- crm.lead: Populates the code field on existing leads during installation using pre- and post-init hooks.
- crm.lead: Shows the code beside the lead name in form, list, and kanban views for both leads and opportunities.
- crm.lead: Extends lead and opportunity search filters to match the sequential code as well as the name.