Audit Log Light
High-Performance, Selective Audit Trail & Data Security Logging for Odoo 15
Track who changed what value, and when on sensitive modelsâwithout paying the performance penalty of a full database audit trail.
Zero overhead on unmonitored models, human-readable diffs, and tamper-proof log entries!
Try Live Demo Before You Buy
Test audit rule creation, field diffing, and read-only security enforcement in our live sandbox environment.
demo
Password: demo
Why Suffer Performance Loss From Bloated Audit Trail Modules?
Generic audit modules log every field on every model, forcing every write() call in Odoo to compute and store heavy diffs. Audit Log Light takes the opposite approach: nothing is logged by default. In-memory caching ensures unmonitored models pay zero database overhead, while sensitive data (contacts, pricing, access rights) remains 100% accountable and secure.
DEMO WATCH NOW
Key Features & Capabilities
Targeted security tracking designed specifically for speed, precision, and compliance.
Granular Audit Rules
Configure active rules per model (auditlog.rule). Choose exact fields to watch, or opt in to "Track All Stored Fields". Enable Create, Update, or Delete tracking independently.
Human-Readable Diffs
Values are automatically formatted for readability: Many2one fields display record names instead of IDs, Selection fields show labels, and Booleans display "Yes/No".
Tamper-Proof & Read-Only
Audit log lines (auditlog.line) are completely read-only via UI and API. Log lines are created exclusively by elevated backend context (sudo()) and cannot be altered.
Automated Data Retention
Built-in scheduled action (ir.cron) automatically purges entries older than a configurable retention window (default: 365 days) to keep database size optimal.
Technical Architecture & Performance Design
Built directly onto Odoo's abstract base model for effortless, high-speed execution.
Model Extensions & Hooks
| Component | Implementation Reference |
|---|---|
| Global ORM Hook | Extended models.AbstractModel (base) |
| Rule Check Lookup | In-Memory Per-Model Dictionary Cache |
| Audit Configuration | auditlog.rule |
| Log Entry Storage | auditlog.line |
Security & Safety Rules
| Security Layer | Details |
|---|---|
| UI/API Permissions | Read-only for Viewer & Manager groups |
| Multi-Company Isolation | Strict record rules based on company_id |
| Context Suppression | auditlog_light_disabled=True |
| Transaction Protection | Failures caught & logged without blocking ORM |
Quick Setup & Usage Guide
| 1. | Navigate to Audit Log â Audit Rules (accessible by Audit Log Managers). |
| 2. | Click New, select the target Model (e.g., Contact / res.partner), and pick specific tracked fields or check Track All Stored Fields. |
| 3. | Select operations to log (Create, Update, Delete) and optionally restrict tracking to specific users. |
| 4. | Save the rule. Logging starts immediately for subsequent changes and can be reviewed under Audit Log â Audit Logs! |
Interface & Operational Gallery
Explore rule configuration, detailed field diff logs, and smart button integration.



Future Development Roadmap
- One-click CSV / Excel export for security compliance reporting.
- Instant email notifications for critical modifications (e.g. security group assignments).
- Side-by-side visual diff view for long text and HTML fields.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 537 |
| Technical Name |
auditlog_light |
| License | OPL-1 |
| Website | https://syncsoft.app |
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