Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

track User changes in any modules

By
Jack
on 10/12/16, 8:38 AM 140 views

Hello,


is there an option/module to track all User-changes?

E.a. User XY changed a value from OLDVALUE to NEWVALUE in Module AB on the YYYY-MM-DD HH:II


1
Cyrus Waithaka
On 10/12/16, 9:01 AM

The feature you are looking for is called Auditlog. Several contributors have made different versions of this feature. I would recommend you take a look at https://apps.odoo.com/apps/modules/8.0/auditlog/ by the OCA. It is however not available for version 9, but it is worth trying. Also refer to this https://www.odoo.com/forum/help-1/question/is-audit-log-available-for-odoo-9-version-98123 and see if it helps.

0
Jack
On 10/13/16, 2:37 AM

we use odoo9. so i installed https://github.com/Smile-SA/odoo_addons
BUT: ist it possible to track ANY changes in ANY Modules? in the rules it seems that i have to define any field in an extra rule? - that would not be practicable.

0
Mai Ecarde
On 10/12/16, 6:38 PM

Alternatively if there are specific fields you want to track you can use "track_visibility='onchange'".

for example from account.invoice

user_id = fields.Many2one('res.users', string='Salesperson', track_visibility='onchange',        readonly=True, states={'draft': [('readonly', False)]},        default=lambda self: self.env.user)


Someone else may be able to confirm but I believe that the module also has to inherit mail.thread.

_inherit = ['mail.thread']



0
Ajeet Yadav
On 10/12/16, 8:58 AM

You can use below module to track changes in records by user.

\https://www.odoo.com/apps/modules/8.0/auditlog/

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/12/16, 8:38 AM
Seen: 140 times
Last updated: 10/13/16, 2:37 AM