Attachment Cleaner

Orphans, redundant copies, filestore size — and a purge that leaves a trail.

A database's filestore ages badly. Migrations, cascading deletions at the database level and failed imports leave behind attachments that no longer point to anything. Odoo offers no inventory of them, and its automatic cleanup only touches what it produced itself.

What it adds

Real screenshots

1. The report, before any deletion

Five orphans and two redundant copies, listed one by one with their source document and size. The total filestore size is shown alongside, so you can measure what the purge would really change.

Attachment report: five orphans, two redundant copies, selected size and total size, with the itemized list

2. What was purged, and by whom

Every purge is archived: the question "who deleted these files?" never goes unanswered.

Attachment purge history with the author, the number of attachments deleted and the bytes freed

Why install it

Going further

Cleaning attachments is maintenance; organizing them is a job in itself. The OdooSkills range offers full document management — filing, versions, per-folder access rights, electronic signature. Full catalog: apps.odooskills.com.

LGPL-3 license — compatible with Odoo 19.0 Community and Enterprise. Support: apps@odooskills.com.