| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 316 |
| Technical Name |
hst_one2many_tracking |
| License | LGPL-3 |
| Website | https://www.hsxtech.net |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 316 |
| Technical Name |
hst_one2many_tracking |
| License | LGPL-3 |
| Website | https://www.hsxtech.net |
HST One2many Field Tracking
Description
Enterprise
A lightweight Odoo module that brings detailed change tracking to One2many fields. With this module installed, you can set up rules for any One2many field and pick exactly which sub-fields to monitor, then every addition, update, or removal gets logged automatically on the parent record's chatter.
This module uses Odoo's standard tracking and chatter system for a smooth, native experience. Set up your tracking rules once, and the change logs start appearing automatically wherever that field is used.
Features
- → Track additions, updates, and removals on any One2many field
- → Choose exactly which sub-fields to monitor per rule
- → Automatically posts detailed change logs to the parent record's chatter
- → Works across any model with a One2many relationship
- → Add multiple tracking rules, each configured independently
How It Works
| Step | Description |
|---|---|
| 1. Open Tracking Rules | Go to Settings > Technical > One2many Field Tracking |
| 2. Create a Rule | Click New, then select the Model and the One2many Field you want to track |
| 3. Choose Sub-fields | Add the sub-fields you want monitored under Tracked Sub-fields |
| 4. Save | Save the user form; the restriction applies right away |
| 5. View Logs | Any addition, update, or removal on that field now shows up automatically in the parent record's chatter |
Configuration Options
| Option | Default | Description |
|---|---|---|
| Model | None | Select the parent model whose One2many field you want to track |
| One2many Field | None | Select the One2many field on that model to monitor |
| Tracked Sub-fields | Empty | Choose which fields on the child records should be tracked, e.g., Product, Quantity |
Screenshots
To set up a One2many tracking rule, go to Settings > Technical > One2many Field Tracking.
Here a rule is created for the Sales Order model, tracking its Order Lines field, with Product and Quantity selected as the sub-fields to monitor.
After a product is added to a sales order, the chatter logs it automatically, showing the product and quantity that were added.
After the quantity is updated, the chatter logs the change, showing the value before and after.
After the product line is removed, the chatter logs the removal, showing what product and quantity were taken out.
Please log in to comment on this module