| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 111 |
| Technical Name |
pys_lock_attachment |
| License | AGPL-3 |
| Website | https://pysquad.com/odoo-erp |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 111 |
| Technical Name |
pys_lock_attachment |
| License | AGPL-3 |
| Website | https://pysquad.com/odoo-erp |
| Versions | 18.0 19.0 |
Lock Chatter Attachments
Secure important documents by locking attachments added in the chatter. This module allows administrators to restrict deletion of chatter attachments and ensure they cannot be removed accidentally or without proper access rights.
Top Features
Protect critical chatter attachments from accidental or unauthorized deletion. Maintain document integrity and control access with simple, configurable security rules.
Lock Chatter Attachments
accidental deletion and preserve important documents across records.
Deletion Control via Access Rights
Control attachment deletion through access permissions, keeping locked chatter files safe and intact.
Model-Level Configuration
Enable attachment locking only for selected models through a centralized configuration, giving admins full control.
Install Lock Chatter Attachments from Odoo Apps
Go to the Odoo Apps menu and search for Lock Chatter Attachments. You will find the application as shown in the image below. Install the module to enable attachment locking and deletion restrictions in the chatter. Once installed, configuration options will be available in the Settings menu.
Enable Locked Attachment Management from User Access Settings
Go to Settings → Users and open any user form view. In the Access Rights or Other section at the bottom, enable the Manage Locked Attachments checkbox. Once this permission is enabled, the configuration section for locking chatter attachments will become visible in the General Settings.
Configure Lock Chatter Attachments from General Settings
After enabling the Manage Locked Attachments checkbox on the user form, go to Settings → General Settings. The Lock Chatter Attachments configuration section will now be visible. From here, you can select the models for which chatter attachments should be locked and protected from deletion.
Configure Locked Models for Chatter Attachments
Click on Configure Locked Models to open the list view for locked attachment configurations. From here, click the New button to create a new record. Enter a configuration name and select the model for which chatter attachment deletion should be prevented. Save the record to apply attachment locking for the selected model.
Attachment Deletion Attempt from Chatter
Open a record of a configured model, such as Sales Order. In the chatter, click on Attachments and attempt to remove an attachment using the Remove button. If the model is configured for locking, the attachment deletion will be restricted and the file will remain protected.
Attachment Deletion Blocked by Lock Configuration
When attempting to delete a chatter attachment from a configured model, a validation message is displayed indicating that deletion is not allowed. This happens because attachments for the Sales Order model have been locked through the Lock Chatter Attachments configuration, ensuring protected files cannot be removed.
For Support
30 Days Free Support Included!
We care about your success. This module comes with 30 days of free support for any bugs, issues, or technical problems. If something doesn’t work as expected, just reach out, and we’ll fix it quickly to ensure everything runs smoothly.
NeedHelp?
Got questions or need help? Get in touch.
Contact Us
Email: contact@pysquad.com
Phone:+91 8160395422
WhatsApp: +91 8160395422
Discover more at
www.pysquad.com/odoo-erp
Please log in to comment on this module