Skip to Content

Hide & Show Delete Action Menu Button Dynamically

by

2.15

17.0 0
Live Preview
Required Apps 146
Technical Name mh_hide_delete_button_dynamically
License OPL-1
You bought this module and need support ? Click here!
Technical Name mh_hide_delete_button_dynamically
License OPL-1

Introduction

This advanced Odoo module provides sophisticated control over delete action menu button visibility across various models within the Odoo platform. It addresses critical business needs for enhanced data security and accident prevention by enabling administrators to dynamically manage delete button accessibility based on user roles and specific model requirements. The system empowers organizations to implement granular security policies that prevent unauthorized data deletion while maintaining flexibility for authorized operations. Key benefits include robust data protection, reduced risk of accidental data loss, improved compliance with data retention policies, and streamlined user experiences tailored to individual role requirements 1.

Key Features

  • Role-based delete button visibility control with customizable user group permissions.

  • Model-specific configuration allowing different settings for each Odoo model.

  • Simple toggle interface for easy activation and deactivation of delete restrictions.

  • Comprehensive coverage across all standard and custom Odoo models.

  • Real-time button visibility updates without requiring page refresh.

  • Non-intrusive implementation that preserves existing Odoo functionality.

  • Detailed logging and audit trail capabilities for security monitoring.

Benefits

  • Significantly reduces risk of accidental or unauthorized data deletion.

  • Enhances compliance with data protection regulations and internal policies.

  • Streamlines user interface by removing unnecessary options based on roles.

  • Improves data integrity and system reliability through controlled access.

  • Reduces administrative overhead associated with data recovery incidents.

  • Provides peace of mind for managing sensitive business information.

Compatibility & Technical Details

This module is compatible with standard Odoo installations and requires no specific dependencies beyond the base web module. The technical name for this module is mh_hide_delete_button_dynamically and it operates under the Odoo Proprietary License (OPL-1). Installation is performed through the Odoo app store within the administrator interface. The module consists of approximately 146 lines of code and implements JavaScript-based dynamic visibility control combined with backend permission verification. After installation, configuration is accessed through the dedicated Hide Delete Menu section where administrators can create model-specific rules and assign user group permissions 1.

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.