Restrict Deletion of Attachments
This module provides the ability to restrict the deletion of the attachments at different levels.
Table of contents
Configuration
Select level:
Go to Settings > General Settings> Permission section.
Choose the level of Restrict Delete Attachment for all models by default or for models with “default” restriction level.
Five levels:
Default : Use global configuration
Owner : Owner and admins only
Custom : Certain groups or users per related model.
Owner + Strict : Owner, admins and Certain groups or users per related model.
None : all users can delete them
Only Owner and Custom + Strict need specific configuration on models.
For Custom and Owner + Strict levels:
Go to Settings > Technical > Database Structure > Models.
Open a model for which attachment deletion should be restricted.
Select ‘Restrict Attachment Deletion’, and assign ‘Attachment Deletion Groups’ and/or ‘Attachment Deletion Users’ as necessary (if no assignment, no one can delete the attachments of this model).
For assigning ‘Attachment Deletion Groups’/’Attachment Deletion Users’ to the model, you can alternatively add the model in the ‘Attachment Deletion Models’ tab in the respective group/user form.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Yoshi Tashiro <tashiro@quartile.co>
Kévin Roche <kevin.roche@akretion.com>
Sébastien BEAU <sebastien.beau@akretion.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainers:
This module is part of the OCA/server-tools project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo14-addon-attachment-delete-restrict 14.0.1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| odoo14_addon_attachment_delete_restrict-14.0.1.0.2-py3-none-any.whl | Python 3 | none | any | Details for odoo14_addon_attachment_delete_restrict-14.0.1.0.2-py3-none-any.whl |
Release files / odoo14_addon_attachment_delete_restrict-14.0.1.0.2-py3-none-any.whl
| Download URL | odoo14_addon_attachment_delete_restrict-14.0.1.0.2-py3-none-any.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d12fb201b6ce669f7cc4860be616b9a6434fea81ae06413fd13aa26ae10c739
|
|
BLAKE2b-256 checksum How to use checksums |
569238f003c86b3871872a40dd1b1cbef5dd8ddb71d2294880c9c0f09fcb798f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for odoo14-addon-attachment-delete-restrict 14.0.1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.