Who changed the price on an order? Who approved an invoice or edited a contact's details? In a company where a dozen or several dozen people use a single ERP system, these questions come up regularly. That is why a user activity audit is not only a security and compliance requirement, but also a day-to-day tool for investigating errors and streamlining processes. In this article, we show how to check who did what and when in Odoo 19, and which limitations of the standard tools you should be aware of.
If you want to try the features described below on a live system, try Odoo for free.
Why audit user activity?
Odoo brings sales, purchasing, inventory, accounting and HR together in a single database. A change in one module can affect all the others. Regular auditing allows you to:
- quickly find the source of a data error, such as a changed price or quantity,
- detect unauthorized or suspicious actions,
- demonstrate accountability for decisions during an inspection or external audit,
- assess whether user access rights are set appropriately.
Change history in the chatter – the first source of information
The simplest audit tool in Odoo is the chatter, the communication panel displayed below most documents: orders, invoices, contacts, products or tasks. For fields that have tracking enabled (the tracking attribute in the model definition), the system automatically records who changed the value, when they did it, and what the previous and new values were.
What can you check in the chatter?
- changes to a document's status (e.g. from draft to confirmed),
- changes to key tracked fields, such as the customer, salesperson, deadline or amount,
- sent emails and added internal notes,
- scheduled and completed activities.
This works out of the box, with no additional configuration, and in most situations it is enough for quickly establishing who made a given change.
Limitations of the chatter
- Not all fields are tracked. To track additional fields, a small customization is needed, and in Odoo Enterprise this can often be set in Studio in the field's properties.
- Deleting a record leaves no trace in its chatter, because the record's history disappears along with it. That is why it is better to archive data instead of deleting it, and to grant deletion rights only to selected people.
- The chatter does not record data reads or exports.
Audit Trail in Accounting
In finance, the requirements for an audit trail are much higher. Newer versions of Odoo offer an Audit Trail feature in the Accounting app, which records changes to journal entries and makes uncontrolled modification of them more difficult. You can enable the option in the Accounting app settings. You can review the recorded operations in the accounting reports. The availability and exact scope of the feature depend on the version and edition of the system, and once the option is enabled it cannot always be disabled, so check the current Odoo 19 documentation before implementing it.
Logins and user account activity
An audit is not only about changes to documents, but also about how users use the system. In the menu Settings → Users & Companies → Users, you can see the date of the last authentication for each account (the Latest authentication column; if you don't see it in the list, add it in the column options). This makes it easy to spot accounts that have not been used for a long time and decide what to do with them. However, standard Odoo does not provide an extensive history of all logins, and that level of detail requires server logs or a dedicated solution.
If it turns out that an account belongs to a person who has left the company, it is best to deactivate it. We covered this in the article How to Deactivate a User Account in Odoo 19: Step-by-Step. Deactivation preserves the history of that person's actions, so the audit trail remains intact and the account stops being a risk.
Login security
A good audit starts with certainty that an account really belongs to the given person. It is therefore worth strengthening the login process, for example with two-factor authentication. We describe it step by step in the post Two-Factor Authentication (2FA) in Odoo 19: Step-by-Step. Forcing a password change at first login, which we discussed in the article Force Password Change at First Login in Odoo 19, will also help. When nobody other than the account owner knows the password, an entry in the change history genuinely points to a specific person.
Technical and server logs
For administrators and IT departments, Odoo also provides technical tools. After activating developer mode (Settings → Developer Tools → Activate the developer mode), in the menu Settings → Technical you will find, among other things, the Logging section, which collects log entries generated by the system and modules. However, this is not a complete audit log of user actions. In addition, the Odoo server log file records errors, warnings and requests, and you can set the level of detail in the configuration file (the log_level and logfile parameters).
Such logs are useful when analyzing failures, unusual errors or attempts at unauthorized access. However, interpreting them requires experience, and in a production environment you also need to take care of file rotation and disk space. In Odoo Online and Odoo.sh, access to server logs differs from a self-hosted installation, so check which options your environment offers.
If you need an extended audit, for example logging reads, data exports, record deletions or changes to all fields of selected models, the implementation can be complex. Our consultants will be happy to help you choose a solution for your company.
Access rights – the foundation of an effective audit
An audit shows what happened, but it is access rights that determine what can happen in the first place. Well-designed access groups reduce the risk of errors and abuse from the start. It is worth reviewing:
- user groups and their access rights – see How to Set Up User Groups in Odoo: Step-by-Step Guide,
- record rules that restrict data visibility – see Odoo Record Rules: How They Work – A Complete Guide,
- access to specific records – see How to Restrict Access to Specific Records in Odoo.
In a multi-company environment, it is equally important to assign users to companies correctly, which we covered in the article How to Assign a User to a Company in Odoo Multi-Company.
Want to see how change history and field tracking work in practice? Create a free database and test them with your own data.
Best practices for auditing in Odoo
- Assign individual accounts. Shared logins make it impossible to determine who performed a given operation.
- Apply the principle of least privilege. Each user should have only the rights they need to do their job, including a restricted right to delete records.
- Review accounts periodically. Once a quarter, check the list of users, their groups and the date of their last activity.
- Deactivate and archive instead of deleting. This way you preserve the full history of actions.
- Enable 2FA. Especially for administrators and people with access to finance.
- Extend tracking of key fields. Check whether your processes track the fields whose changes matter to the business, e.g. prices, discounts and payment terms.
- Document the rules. Describe who is responsible for reviewing logs and how to respond to incidents.
FAQ – frequently asked questions
Does Odoo record by default who changed data in a document?
Yes, for fields that have tracking enabled. The chatter shows the author of the change, the date, and the value before and after the change. However, not all fields are tracked by default, so for more demanding processes it is worth extending the scope of tracking.
How can I check when a user last logged in to Odoo?
You can find the last authentication information in the list of users under Settings → Users & Companies → Users. It is a good starting point for finding inactive accounts.
Does Odoo record who deleted a record?
Not by default in a way that is visible to the user. When a record is deleted, its chatter disappears as well. That is why it is worth archiving data instead of deleting it, restricting the right to delete in access groups, and, if needed, implementing dedicated deletion logging.
Does an audit require programming?
A basic audit, meaning the chatter, login dates and an access rights review, does not require programming. However, extended tracking across many models, custom audit reports or integration with external monitoring systems may require technical configuration or a dedicated module.
Summary
An effective user activity audit in Odoo is built on several layers: change history in the chatter, the audit trail in accounting, monitoring of account activity, technical logs and well-designed access rights. Each has its limitations, but together they give a complete picture of what is happening in the system and make it possible to respond quickly to irregularities.
Need help implementing auditing in Odoo?
The KK Innovations team will help you configure access rights, change tracking and security policies so that your system is transparent and secure. Get in touch, and together we will choose a solution tailored to your company.