| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Documents (documents)
• Discuss (mail) |
| Lines of code | 312 |
| Technical Name |
doc_copy_btn_omax |
| License | OPL-1 |
| Website | https://www.omaxinformatics.com |
| Versions | 13.0 14.0 15.0 16.0 17.0 18.0 19.0 |
Document Duplicate File Name Restriction
OMAX INFORMATICS
Overview
This app is an essential utility designed to keep your Odoo Documents workspace clean, organized, and free of redundant files.
By default, Odoo allows users to upload multiple files with the exact same name into the same folder, causing confusion and wasting database storage. This module introduces a pre-check system that intercepts file uploads, detects identical filenames in the target folder, and gracefully blocks them.
Features
- Global toggle to quickly Enable/Disable duplicate name restrictions
- Blocks identical file names within the exact target workspace or folder
- Advanced frontend pre-checking prevents server crashes and 400 Bad Requests
- Native warning popups showing the exact path of the existing file
- Drastically reduces database bloat by preventing duplicate file attachments
How It Works
1. Enable Restriction Setting
Global Configuration
Easily activate the protection across your entire database by enabling the Restrict Duplicate Name option in the Documents Configuration Settings.
2. Duplicating Existing Files
Duplication Handling
If a folder (e.g., Customer Invoices) already contains a file and its copy, such as Q1_Invoice_Tracker.xlsx and Q1_Invoice_Tracker (copy).xlsx, attempting to duplicate the original file again via the Action > Duplicate menu will trigger a restriction.
3. Upload Block
Upload Restriction
The system monitors file uploads. If a user tries to upload a file with a name that already exists in the target workspace via New > Upload button, the process is blocked to prevent redundancy and duplicate warning is shown.
Release 18.0.1.0
- Module base functionality established.
Free Support
Get In Touch
OMAX INFORMATICS
| Our Odoo Services |
|
|
|
|
|
|
|
|
|
|
| For support, query and question contact us. |
|
|
|
Thank you for visiting
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module