Skip to content

[16.0][IMP] database_cleanup: purge orphaned attachments#3566

Open
Aldeigja wants to merge 2 commits intoOCA:16.0from
cetmix:16.0-t5258-database_cleanup-orphaned-attachments-clean
Open

[16.0][IMP] database_cleanup: purge orphaned attachments#3566
Aldeigja wants to merge 2 commits intoOCA:16.0from
cetmix:16.0-t5258-database_cleanup-orphaned-attachments-clean

Conversation

@Aldeigja
Copy link

Add wizard to list ir.attachment records whose store_fname points to a missing file on disk when storage is "file", and allow purging those rows.

Add wizard to list ir.attachment records whose store_fname points to a
missing file on disk when storage is "file", and allow purging those
rows.

task 5258
@Aldeigja Aldeigja force-pushed the 16.0-t5258-database_cleanup-orphaned-attachments-clean branch from 699d8f0 to ab70051 Compare March 20, 2026 10:03
Unlink attachments one by one so UserError, ValidationError, and
AccessError (e.g. EDI government documents) are logged and skipped
instead of aborting the whole batch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant