| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1955 |
| Technical Name |
kw_crm_stage_history |
| License | LGPL-3 |
| Website | https://github.com/kitworks-systems/addons |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1955 |
| Technical Name |
kw_crm_stage_history |
| License | LGPL-3 |
| Website | https://github.com/kitworks-systems/addons |
| Versions | 16.0 17.0 18.0 19.0 |
CRM Stage History
This module automatically tracks CRM lead and opportunity stage transitions. Every time a lead moves from one stage to another, a history record is created with timestamps and the user who made the change.
Key features include:
- Automatic Stage Tracking: Records every stage change with "from" and "to" stages
- Time in Stage: Calculates days and hours spent in each stage
- Full Audit Trail: Tracks which user moved the lead and when
- Pivot Analysis: Built-in pivot view for analyzing time spent per stage
- Access Control: Dedicated "CRM Stage History Viewer" group to control tab visibility
Usage Guide
Viewing Stage History on a Lead
- Open any CRM lead or opportunity
- Navigate to the "Stage Change History" tab
- View the complete history of stage transitions with timestamps and responsible users
Stage Change Analysis
- Go to CRM > Stage Change Analysis
- Use the tree view to browse all stage transitions across leads
- Switch to pivot view to analyze average time spent in each stage
- Use filters and group-by options to narrow down the analysis
Access Configuration
- Go to Settings > Users & Companies > Users
- Add the "CRM Stage History Viewer" group to users who need to see the history tab on leads
- Sales Managers have full read/write/create/delete access to history records
Technical Details
The module uses the generic.mixin.track.changes mixin from generic_mixin to track stage changes via @post_create and @post_write decorators, replacing manual create()/write() overrides.
Models
- kw.crm.stage.history: Stores stage transition records with from/to stages, timestamps, and time calculations
- crm.lead: Extended with stage history tracking and a One2many relation to history records
History Record Fields
- Stage From / Stage To: The source and destination CRM stages
- Date In / Date Out: When the lead entered and left the stage
- Date In By / Date Out By: Users responsible for the transitions
- Day Diff / Time Diff / Total Time Diff: Computed time spent in the stage
Bug Tracker
Bugs are tracked on https://kitworks.systems/requests. In case of trouble, please check there if your issue has already been reported.
Maintainer
KitWorks Systems. Our web site: https://kitworks.systems
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
For any questions contact us.
Please log in to comment on this module