Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 30 |
Technical Name |
track_any_filed_in_chatter |
License | OPL-1 |
Versions | 14.0 15.0 16.0 17.0 |
Track Any Fields in Chatter
The Odoo module is designed to make it easier to track all fields for any model within Odoo. Here's how users can use your module:
Activate Developer Mode: Before you can start tracking fields, you need to activate the Developer Mode in your Odoo instance. This mode provides access to advanced technical features.
Navigate to Technical Menu and Choose Models SubMenu: Once in Developer Mode, navigate to the "Technical" menu in the main Odoo interface.
Within the "Technical" menu, find and select the "Models" submenu. This is where you'll manage the various models in your Odoo instance.
Select a Model: From the list of available models, choose the one you want to track fields for. This could be any module that you have installed in your Odoo instance.
Enable "Track All Fields" Checkbox: Inside the model settings, you will see a checkbox labeled "Track All Fields." Check this checkbox to indicate that you want to track all the fields within the chosen model.
Save Changes: After enabling the "Track All Fields" checkbox, make sure to save your changes.
Field Tracking Initiated: Once you've enabled the "Track All Fields" option and saved your changes, your module will automatically start tracking all the fields within the selected model. This includes changes to the values of these fields over time.
Contact / Support
Need help or want extra features?
Need help with the configuration or want this module to have more
functionalities?
Contact us on
- E Mail : medconsultantweb@gmail.com@gmail.com
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Hi, whether this module tracks for relational fields?
user name registration
Can we know which user made the changes?
Error after installation
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/api.py", line 989, in get
cache_value = field_cache[record._ids[0]]
KeyError: 3
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/fields.py", line 1160, in __get__
value = env.cache.get(record, self)
File "/home/odoo/src/odoo/odoo/api.py", line 996, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'res.partner(3,).im_status'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup
r = d[key]
File "", line 2, in __getitem__
File "/home/odoo/src/odoo/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/home/odoo/src/odoo/odoo/tools/lru.py", line 34, in __getitem__
a = self.d[obj]
KeyError: ('res.partner', , 2, True)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 1591, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1618, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 1822, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/home/odoo/src/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/odoo/src/odoo/addons/mail/controllers/discuss.py", line 196, in mail_init_messaging
return request.env.user.sudo(request.env.user.has_group('base.group_portal'))._init_messaging()
File "/home/odoo/src/odoo/addons/mail_bot/models/res_users.py", line 28, in _init_messaging
return super()._init_messaging()
File "/home/odoo/src/odoo/addons/mail/models/res_users.py", line 183, in _init_messaging
'channels': self.partner_id._get_channels_as_member().channel_info(),
File "/home/odoo/src/odoo/addons/mail/models/mail_channel.py", line 754, in channel_info
all_needed_members.partner_id.sudo().mail_partner_format() # prefetch in batch
File "/home/odoo/src/odoo/addons/hr_holidays/models/res_partner.py", line 29, in mail_partner_format
partners_format = super().mail_partner_format(fields=fields)
File "/home/odoo/src/odoo/addons/mail/models/res_partner.py", line 120, in mail_partner_format
data['im_status'] = partner.im_status
File "/home/odoo/src/odoo/odoo/fields.py", line 1209, in __get__
self.compute_value(recs)
File "/home/odoo/src/odoo/odoo/fields.py", line 1391, in compute_value
records._compute_field_value(self)
File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 401, in _compute_field_value
self._track_prepare(f.name for f in self.pool.field_computed[field] if f.store)
File "/home/odoo/src/odoo/addons/mail/models/mail_thread.py", line 507, in _track_prepare
fnames = self._track_get_fields().intersection(fields_iter)
File "", line 2, in _track_get_fields
File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/home/odoo/src/user/track_any_filed_in_chatter/models/track_all.py", line 18, in _track_get_fields
return super(mail_thread, self)._get_tracked_fields()
AttributeError: 'super' object has no attribute '_get_tracked_fields'
The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (https://mco24-test2-11266120.dev.odoo.com/web/assets/316-53dbc36/web.assets_backend.min.js:998:163)
at XMLHttpRequest. (https://mco24-test2-11266120.dev.odoo.com/web/assets/316-53dbc36/web.assets_backend.min.js:1006:13)