Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Audit
  3. Audit Log Archive Manager v 19.0
  4. Sales Conditions FAQ

Audit Log Archive Manager

by Ameerweb https://www.ameerweb.com
Odoo

$ 108.47

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0
You bought this module and need support? Click here!
Versions 18.0 19.0
  • Description
  • Manifest
  • Documentation
Audit records flowing into a verified archive

Audit Log Archive Manager

Verified, bounded, preservation-first lifecycle control for OCA Audit Log.

Control audit-table growth without losing the evidence trail

Publish complete event envelopes to uniquely identified archive batches, verify integrity, then remove only the reconciled source population.

Preservation before deletion
Source removal is blocked until the canonical archive passes identity, count, structure, storage, and digest checks.
Predictable workload
Oldest-first batches cap each scheduled execution, supporting measured throughput and backlog control.
Evidence that reconciles
Every event has a JSONL envelope. Binary payload exclusions remain explicit and counted.
Fail-closed storage safety
A changed or missing destination device or persistent marker blocks export and deletion instead of creating a replacement directory.

Operational controls

  • Database-wide policy aligned with the OCA audit event ownership model
  • Canonical UTF-8 JSONL plus spreadsheet-safe CSV presentation
  • Archive, event-stream, source-selection, and destination identity verification
  • Destruction hold, competing-cleanup detection, and restart reconciliation
  • Read-only auditor role, manager role, batch ledger, and policy change history
  • No purge-only mode and no silent overwrite of an existing archive

One policy, visible safeguards

Configure retention and capacity, validate the archive destination, apply a destruction hold when needed, and review the latest processing result from one database-wide policy.

Audit lifecycle policy with a validated archive destination

Persistent archive ledger

Every batch keeps its fixed selection, state, reconciliation counts, archive size, completion time, and verification evidence for operational review.

Completed archive batch in the lifecycle ledger

Requirements

Requires the OCA auditlog addon and a pre-created durable archive directory that supports hard links. The Odoo service account needs read, write, and link permissions. Backup, encryption, storage immutability, and jurisdiction-specific retention remain deployment responsibilities.

Changelog

Version 19.0.1.0.0

2026-10-26

  • Added Odoo 19 support with the official OCA ``auditlog`` 19.0 dependency.
  • Bounded oldest-first batches publish canonical JSONL evidence and spreadsheet-safe CSV before reconciled source deletion.
  • Archive verification checks destination identity, the fixed source selection, event identities, counts, structure, and digests before deletion is permitted.
  • Added destination validation, destruction holds, competing-cleanup detection, restart reconciliation, role-separated access, notifications, and a persistent batch ledger.
  • The Lifecycle Policy menu opens the database-wide policy directly, avoiding an empty non-creatable list during initial setup.
  • HTTP request and session cleanup follows the policy's HTTP-context inclusion choice.
  • Added Arabic translations for lifecycle policy controls, archive ledger states, validation feedback, safeguards, and operational messages.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
Audit Log
Lines of code 2742
Technical Name auditlog_lifecycle_manager
LicenseAGPL-3
Websitehttps://www.ameerweb.com

Audit Log Archive Manager

For Odoo 19 Enterprise and Community. Package version: 19.0.1.0.0

See the Changelog for release history.

Audit Log Archive Manager controls growth in the OCA auditlog tables by publishing old events to independently verifiable archive batches before removing the reconciled source records.

Prerequisites

  • Install the OCA auditlog addon and configure the audit rules you require.
  • Create a durable server-side archive directory before configuration. The addon deliberately does not create a missing directory or mount point.
  • Grant the Odoo service account read, write, create, delete, and hard-link permissions in that directory.
  • Arrange backup, encryption, access control, monitoring, and storage immutability according to your organisation's requirements.

Installation

  1. Add the module to an Odoo addons path and update the Apps list.
  2. Install Audit Log Archive Manager.
  3. Assign Audit Lifecycle Manager to administrators who configure or run the lifecycle. Assign Audit Lifecycle Auditor to users who only inspect policy and batch evidence.

Configuration

  1. Open Audit > Lifecycle > Lifecycle Policy. The menu opens the single database-wide policy directly.
  2. Enter the existing absolute archive directory, online retention period, and maximum events per batch.
  3. Decide whether archived event envelopes should include available HTTP request and session context. When disabled, orphan HTTP context records are retained.
  4. Disable OCA's independent Auto-vacuum audit logs scheduled action and any legacy audit-log purge job. The policy cannot be enabled while a known competing cleanup is active.
  5. Select Validate Destination. Validation checks write access, atomic hard-link publication, free space, the filesystem device, and a persistent marker stored on the destination.
  6. Review the result and enable the policy. Changing the archive directory later disables the policy and requires validation again.
  7. Optionally select internal notification users who should receive batch results.

Everyday workflow

The scheduled action processes at most one oldest-first batch per run. You can select Queue Next Batch on the policy when an additional run is needed. Monitor Audit > Lifecycle > Archive Batches for selection counts, archive paths, digests, deletion reconciliation, and notification state.

Each ZIP contains:

  • manifest.json with the batch, database, storage, policy, count, and digest identities;
  • events.jsonl as the canonical UTF-8 evidence stream; and
  • presentation.csv as a spreadsheet-safe operational view.

The service verifies the archive members, filesystem device, persistent storage marker, fixed source IDs, event IDs, counts, and SHA-256 digests before it removes selected source events. Existing archive filenames are never overwritten.

Destruction hold and recovery

Enable Destruction Hold and enter a reason to block new batches and source deletion immediately. Interrupted batches remain in the ledger. A failed pre-deletion export can be retried by a lifecycle manager. A batch that reached a destructive boundary is marked Needs Reconciliation and must pass verification again before cleanup resumes.

Troubleshooting

The policy cannot be activated
Validate the destination and disable the competing cleanup named in the policy warning.
The destination validation fails
Confirm that the directory already exists on the Odoo server, the intended storage is mounted, and the Odoo service account can create files and hard links.
Storage identity changed or marker missing
Restore the intended mount. Do not validate a temporary local replacement path. Validate only after the durable destination is confirmed.

After upgrading from an earlier package version, validate the destination again before reactivating the policy.

A batch needs reconciliation
Preserve the archive and database state, review the batch error, restore the expected destination if necessary, and use Verify Archive before retrying.

Scope and limitations

The module preserves events already captured by OCA auditlog. It cannot reconstruct events excluded by audit rules, excluded users or fields, direct SQL updates, or other capture limitations. It does not replace off-server backup, encryption, immutable storage, legal review, or monitoring.

Changelog

19.0.1.0.0 - 2026-10-26

  • Added Odoo 19 support with the official OCA auditlog 19.0 dependency.
  • Bounded oldest-first batches publish canonical JSONL evidence and spreadsheet-safe CSV before reconciled source deletion.
  • Archive verification checks destination identity, the fixed source selection, event identities, counts, structure, and digests before deletion is permitted.
  • Added destination validation, destruction holds, competing-cleanup detection, restart reconciliation, role-separated access, notifications, and a persistent batch ledger.
  • The Lifecycle Policy menu opens the database-wide policy directly, avoiding an empty non-creatable list during initial setup.
  • HTTP request and session cleanup follows the policy's HTTP-context inclusion choice.
  • Added Arabic translations for lifecycle policy controls, archive ledger states, validation feedback, safeguards, and operational messages.

Support

Use the support contact shown on the app listing. Include the module version, Odoo edition, batch identity, and the complete error message. Do not attach archive contents unless your organisation has approved their disclosure.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with