Skip to Content

Hide & Show Duplicate Action Menu Dynamically with JS Class

by

2.15

17.0 0
Live Preview
Required Apps Invoicing (account)
Discuss (mail)
Technical Name mh_hide_duplicate_menu_with_js_class
License OPL-1
Also available in version 17.0 16.0
You bought this module and need support ? Click here!
Technical Name mh_hide_duplicate_menu_with_js_class
License OPL-1
Also available in version v 17.0 v 16.0

Introduction

This specialized module addresses a common navigation challenge in Odoo by automatically identifying and managing duplicate menu items that can appear throughout the interface. It provides an intelligent solution for cleaning up menu structures using JavaScript class implementation, ensuring a cleaner and more professional user experience. The primary purpose is to streamline navigation by removing redundant menu entries that can confuse users and clutter the interface. Key benefits include improved user navigation efficiency, reduced visual clutter, and enhanced overall system usability without modifying core database structures or menu configurations.

Key Features

  • Automatic detection and management of duplicate menu items throughout the interface

  • JavaScript-based implementation that works without altering core menu structures

  • Customizable class-based identification system for targeted menu item management

  • Non-destructive approach that preserves original menu configurations

  • Lightweight implementation that maintains system performance

  • Compatible with standard Odoo menu systems and custom menu items

  • Real-time duplicate detection during interface rendering

Benefits

  • Creates a cleaner and more professional navigation experience for users

  • Reduces confusion by eliminating redundant menu options

  • Improves navigation efficiency and user productivity

  • Maintains system integrity by using non-destructive implementation methods

  • Enhances overall user satisfaction with a streamlined interface

  • Requires minimal configuration while delivering significant interface improvements

Compatibility & Technical Details

This module is compatible with standard Odoo installations and requires the web module as a dependency. The technical name for this module is mh_hide_duplicate_menu_with_js_class. It operates under the LGPL license, following standard open-source licensing for Odoo extensions. Installation is performed through the Odoo app store within the administrator interface. The module implements JavaScript-based detection and management of duplicate menu items using class identifiers. After installation, the duplicate menu management functionality becomes automatically active, working in the background to streamline navigation without requiring additional configuration for most standard implementations.

Hide & Show Duplicate Action Menu Dynamically with JS Class (Odoo17)

The Dynamic Duplicate Menu Hider for Odoo 17 is an essential tool for enhancing your Odoo instance's user interface by dynamically managing the visibility of the duplicate action menu button in both list (tree) and form views. This app allows administrators to configure the visibility of the duplicate action menu button based on user groups and specific model configurations, ensuring a streamlined and customized user experience. With an easy-to-use configuration panel, you can quickly toggle the visibility of the duplicate menu for selected models, empowering you to maintain a cleaner and more controlled interface. Integration is achieved through the use of the js_class attribute in both list (tree) and form views.

Key Features

  • Dynamic Visibility Control: Hide or show the duplicate action menu button based on user group membership and model configurations.
  • Comprehensive Configuration: Easily specify which models should have the duplicate menu hidden or visible.
  • Active/Inactive Toggle: Quickly activate or deactivate the visibility settings for the duplicate action menu button with a simple toggle.
  • User Group Integration: Leverage user group memberships to determine who can see the duplicate action menu button.
  • Attribute-Based Integration: Utilizes the js_class attribute js_class="hide_duplicate_menu_form_view" for form view and js_class="hide_duplicate_menu_list_view" for list (tree) views to manage visibility.

Configuration

  • Navigate to Configuration: Go to the Odoo menu and click on the Hide Duplicate Menu menu.
  • Create New Configuration: Click on "Create" to add a new configuration record.
  • Choose Model: Choose the model (e.g., Sale Order) for which you want to hide duplicate action menu button.
  • Active/Inactive Toggle: Activate or deactivate the duplicate menu visibility setting for any model.
  • Add js_class in Views: Utilizes the js_class attribute js_class="hide_duplicate_menu_form_view" for form view and js_class="hide_duplicate_menu_list_view" for list (tree) views to manage visibility.

Why Choose This App?

  • Enhanced User Interface: Maintain a clean and streamlined interface by removing unnecessary duplicate menu buttons for specific user groups and models.
  • Improved User Control: Provide a customized experience for users based on their roles and permissions, reducing the risk of unintentional data duplication.
  • Easy to Configure: The intuitive configuration panel allows for quick and easy setup, making it accessible for administrators without technical expertise.
  • Flexible and Dynamic: Adapt the visibility of the duplicate menu button dynamically, ensuring your Odoo instance can evolve with your business needs.
  • Time-Saving: Reduce the need for custom code and manual updates by leveraging this automated and configurable solution.
  • Flexible and Scalable: Adapt seamlessly across diverse models, offering flexibility to adapt to changing business needs.
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.