| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 44 |
| Technical Name |
se_hide_sidebar_buttons |
| License | LGPL-3 |
| Website | https://sprinterp.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 44 |
| Technical Name |
se_hide_sidebar_buttons |
| License | LGPL-3 |
| Website | https://sprinterp.com |
Hide Print & Action Buttons
Enhance UI security and simplify the user interface by hiding sensitive Action and Print menus on a per-user basis.
Key Module Highlights
Configuration & Usage Workflow
Enable User-Wise Restrictions
Navigate to Settings > Users & Companies > Users. Open the specific user form and go to the Access Rights tab. Under the "Action Restrictions" group, check the "Hide Print & Action Buttons" option to restrict menu visibility for this user.
Pro Tip: This setting is dynamic. Once checked, the user only needs to refresh their browser (or perform a new action) to see the changes applied in List and Form views.
Restriction in List (Tree) View
When a restricted user selects multiple records in the List View, the system automatically hides the "Print" and "Actions" dropdown menus. This ensures that restricted users cannot perform bulk actions like Exporting, Deleting, or Printing reports from the dashboard.
Controlled Actions: Hidden options include Export, Duplicate, Delete, and all report-based Print actions, providing a secure environment for sensitive data.
Restriction in Form View
The restriction extends to individual record Form Views. For restricted users, the "Print" and "Action" (gear icon) menus are completely hidden or emptied, preventing individual record duplication, deletion, or report printing.
Seamless Experience: The module automatically detects the user's configuration and patches the Form Controller to ensure a clean, restricted interface across all Odoo models.
Restricted List View Actions
In the List View, when a restricted user selects multiple records, the "Print" and "Action" menus are completely removed from the top bar. This prevents unauthorized users from performing bulk exports, mass deletions, or printing multiple reports at once.
Data Security: By hiding these buttons in the Tree view, you ensure that users cannot bypass permissions by selecting all records to export or delete them.
Complete Restriction in Form View
The security restriction extends to the individual record Form View. For the assigned users, the "Print" and "Action" buttons are entirely hidden from the breadcrumb area. This prevents users from duplicating, deleting, or generating reports for specific documents like Sales Orders, Invoices, or Quotations.
UI Integrity: The module uses modern JS patching to ensure the layout remains clean and professional even when core buttons are removed.
Key Features & Capabilities
Advanced UI control to manage menu visibility and enhance data security across Odoo views.
Per-User Configuration
Enable or disable the restriction directly from the individual User settings under Access Rights.
Hide "Action" Menu
Prevents users from accessing the Action dropdown, including Delete, Duplicate, and Export options.
Hide "Print" Menu
Completely removes the Print dropdown menu to prevent unauthorized document generation.
List & Form Coverage
Seamlessly works on both Tree (List) views and individual Form views for a consistent experience.
Pure JS Patching
Uses Odoo's latest Javascript patching mechanism to hide buttons without altering core XML.
Enhanced UI Security
Minimizes accidental data modifications or exports by hiding high-privilege menu items.
Need Any Help?
Installation, Configuration & Bug Fixing support from our experts.
© 2017 SprintERP Technologies. All Rights Reserved.
Please log in to comment on this module