Go to file
2026-03-17 10:42:33 +07:00
models first commit 2026-03-17 10:42:33 +07:00
views first commit 2026-03-17 10:42:33 +07:00
__init__.py first commit 2026-03-17 10:42:33 +07:00
__manifest__.py first commit 2026-03-17 10:42:33 +07:00
.gitignore first commit 2026-03-17 10:42:33 +07:00
README.md first commit 2026-03-17 10:42:33 +07:00

Accounting Audit Unlink Tracker

This Odoo module tracks deletion operations for critical business records and ensures they are recorded in the Accounting Audit Trail report.

Features

  • Deletion Tracking: Automatically intercepts unlink calls for major models.
  • Persistent Logs: Creates audit logs with res_id = 0 so history survives record deletion.
  • Detailed Information: Logs capture:
    • User responsible for deletion.
    • Record Technical ID.
    • Record Display Name.
    • Model Name.
  • Audit Trail Integration: Logs appear directly in the standard Accounting > Reporting > Audit Trail report.

Supported Models

  • Accounting: account.move, account.account, account.tax
  • Core/Partners: res.partner, res.company
  • Manufacturing: mrp.production, mrp.bom
  • Inventory/Logistics: stock.picking, stock.move, stock.lot
  • Products: product.template, product.product, product.category
  • Sales/Purchase: sale.order, purchase.order
  • HR: hr.employee

Installation

  1. Add the module to your custom addons path.
  2. Update the addon list in Odoo.
  3. Install account_audit_unlink.

Usage

Go to Accounting > Reporting > Audit Reports > Audit Trail to view all deletion logs alongside standard audit trails.