| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 457 |
| Technical Name |
hide_action_buttons_per_user |
| License | LGPL-3 |
🔒 Hide Action Buttons Per User
Take full control over what each user can do in any model. Hide the New, Archive, Delete, Duplicate, and Export actions globally or only for the models you choose — directly from the user's Access Rights tab, no coding required.
Odoo 17 All Apps Community & Enterprise Upgrade Safe
What This Module Does
| ➕ Hide Create / New Remove the "New" button from List, Form, and Kanban views, globally for a user or only for the models you select. |
| 📦 Hide Archive / Unarchive Remove the Archive and Unarchive options from the Actions (cog) menu in List and Form views. |
| 🗑️ Hide Delete Remove the Delete option from the Actions menu, preventing accidental or unauthorized removal of records. |
| 📋 Hide Duplicate Remove the Duplicate option so users cannot create copies of sensitive records such as quotations or leads. |
| 📤 Hide Export Remove the Export option to keep confidential data from leaving the system as spreadsheets. |
| 🎯 Two Levels of Control, Per Action For each action, choose "Hide All" to apply it everywhere, or leave it off and pick specific models from a tag list, applying the restriction only where it matters. |
How It Works
Step 1 — Open the User's Access Rights
Go to Settings → Users & Companies → Users, open the user you want to restrict, and scroll to the Access Rights tab. You will find five independent sections: Archive, Create, Delete, Duplicate, and Export.
Step 2 — Choose Global or Per-Model Restrictions
For any action, either tick "Hide All Action ..." to remove it everywhere for this user, or leave it unticked and add specific models (e.g. Lead/Opportunity, Sales Order) to the "Applied Models" tag field. The action will only be hidden on the models you list.
Step 3 — The Buttons Disappear Automatically
Once configured, the restricted user no longer sees the New button on the models you selected.
In the Actions (cog) menu, Duplicate, Delete, Archive, and Export disappear according to the same rules — on List views with records selected:
And on individual records too, whether viewed as a list, kanban card, or form:
ℹ️ Important Notes
- Restrictions are based on the logged-in user, so each user can have their own configuration.
- "Hide All Action" and "Applied Models" work together: if "Hide All" is ticked the action is hidden everywhere and the model list is ignored.
- This module only hides UI actions; it does not replace proper security groups or record rules for protecting data at the database level.
- Works alongside your existing access rights and record rules without conflicts.
Developed by MIR
Support: mrouk6348@gmail.com
Licensed under LGPL-3 · Odoo 17
Please log in to comment on this module