35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
# 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.
|