Skip to content

[18.0][FIX] dms: Delete the file if the attachment is deleted#412

Merged
OCA-git-bot merged 1 commit intoOCA:18.0from
Tecnativa:18.0-fix-dms-issue-381
Apr 21, 2025
Merged

[18.0][FIX] dms: Delete the file if the attachment is deleted#412
OCA-git-bot merged 1 commit intoOCA:18.0from
Tecnativa:18.0-fix-dms-issue-381

Conversation

@victoralmau
Copy link
Copy Markdown
Member

FWP from 17.0: #405

Delete the file if the attachment is deleted

When deleting an attachment, an attempt should be made to delete the linked file, causing an error if it is locked. Do not show the Delete/Archive/Unarchive option on files if it is locked and you cannot unlock it.

Fixes #381

@Tecnativa

When deleting an attachment, an attempt should be made to delete the linked file, causing an error if it is locked.
Do not show the Delete/Archive/Unarchive option on files if it is locked and you cannot unlock it.

Fixes OCA#381
@pedrobaeza pedrobaeza added this to the 18.0 milestone Apr 21, 2025
@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-412-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit e925c74 into OCA:18.0 Apr 21, 2025
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 0f36b50. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 18.0-fix-dms-issue-381 branch April 21, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants