Tracking Manager
by Akretion https://github.com/OCA/server-tools , Odoo Community Association (OCA) https://github.com/OCA/server-toolsAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 457 |
Technical Name |
tracking_manager |
License | AGPL-3 |
Website | https://github.com/OCA/server-tools |
Versions | 14.0 15.0 16.0 17.0 18.0 |
Tracking Manager
This module allows to track all fields on every model that has a chatter, including one2many and many2many ones. This excludes the computed, readonly, related fields by default. In addition, line changes of a one2many field can be tracked (e.g. product_uom_qty of an order_line in a sale order).
Table of contents
Usage
- In setting > models: select a model
- Check “Active” under Custom Tracking.
- You have two options - 1) manually configure tracked fields one by one, or 2) determine tracked fields based on a specific domain.
- For 1) manually configure tracked fields one by one - Click on Tracked Fields smart button, and select/unselect Custom Tracking.
- For 2) determine tracked fields based on a specific domain - Select “Automatic configuration”, and then set the domain accordingly. - Click “Update” for the domain to take effect.

- Then select the fields to track

Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Akretion
Contributors
- Kévin Roche <kevin.roche@akretion.com>
- Sébastien BEAU <sebastien.beau@akretion.com>
Maintainers
This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/server-tools project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedVery good work
It helped me a lot, it's plug and play, you just have to configure the model and that's it!
Dear Developers,
I got the error below when I try to check “Active” under Custom Tracking.
Appreciate if this error can be solved. I'm using Odoo 14 Community Version. Thanks.
Error:
Odoo Server Error
Traceback (most recent call last):
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 685, in dispatch
result = self._call_function(**self.params)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 361, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\service\model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 349, in checked_call
result = self.endpoint(*a, **kw)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 914, in __call__
return self.method(*args, **kw)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 533, in response_wrap
response = f(*args, **kw)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\web\controllers\main.py", line 1394, in call_kw
return self._call_kw(model, method, args, kwargs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\web\controllers\main.py", line 1386, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 6225, in onchange
snapshot0 = Snapshot(record, nametree, fetch=(not first_call))
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 6069, in __init__
self.fetch(name)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 6077, in fetch
self[name] = [Snapshot(line, tree[name]) for line in record[name]]
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 6077, in
self[name] = [Snapshot(line, tree[name]) for line in record[name]]
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 6069, in __init__
self.fetch(name)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 6079, in fetch
self[name] = record[name]
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 5686, in __getitem__
return self._fields[key].__get__(self, type(self))
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\fields.py", line 1021, in __get__
self.compute_value(recs)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\fields.py", line 1177, in compute_value
records._compute_field_value(self)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 4069, in _compute_field_value
getattr(self, field.compute)()
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\addons\base\models\ir_model.py", line 555, in _in_modules
xml_ids = models.Model._get_external_ids(self)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\models.py", line 4787, in _get_external_ids
result[data['res_id']].append('%(module)s.%(name)s' % data)
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 641, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\Program Files\Odoo 14.0.20220429\server\odoo\http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
KeyError: 2711