Skip to Content
Menu

Hide & Show Duplicate Action Menu Dynamically with JS Class

by
Odoo

4.25

v 17.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 185
Technical Name mh_hide_duplicate_menu_with_js_class
LicenseOPL-1
Websitehttp://softwarebox18@gmail.com
Versions 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Lines of code 185
Technical Name mh_hide_duplicate_menu_with_js_class
LicenseOPL-1
Websitehttp://softwarebox18@gmail.com
Versions 16.0 17.0

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.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.