| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 94 |
| Technical Name |
hst_hide_action |
| License | LGPL-3 |
| Website | https://hsxtech.net |
HST Hide Action Menu
Description
Enterprise
A lightweight Odoo module that lets you control who can see the action menu (the gear icon) on list and form views. Assign users to one of two security groups: one hides the action menu everywhere across the system, the other hides it only on the specific models you configure.
When a user's action menu is hidden, the list view drops it entirely once records are selected, and the form view keeps the gear menu but limits it to Print options only. Just add users to the group that matches the behavior you want, no other setup required.
Features
- → Hide the action menu (gear icon) completely for selected users
- → Choose to hide it everywhere, or only on the models you pick
- → List view: action menu disappears when records are selected
- → Form view: only the Print option stays visible, rest are hidden
- → Works through simple security groups — no coding needed
- → Apply different rules to different users by assigning the right group
- → Other menu functionality stays untouched — only visibility is affected
- → Quick to set up: just assign a group, no extra configuration
How It Works
| Step | Description |
|---|---|
| 1. Open User | Go to Settings > Users & Companies > Users, and open the user you want to restrict |
| 2. Assign Group | Add them to either "Hide Action Menu Everywhere" or "Hide Action Menu (Selected Models)" |
| 3. Pick Models (if needed) | If you chose the selected-models group, specify which models the restriction should apply to |
| 4. Save | Save the user form; the restriction applies right away |
| 5. Result | That user no longer sees the action menu in list view, and only Print remains in the form view gear menu |
| 6. Adjust Anytime | Change the user's group or model list whenever your access needs change |
Configuration Options
| Option | Default | Description |
|---|---|---|
| Users | None assigned | Add the users you want restricted to the chosen group on their user form |
| Security Group | None | Pick "Hide Action Menu Everywhere" to hide it on all models, or "Hide Action Menu (Selected Models)" to limit it to chosen models |
| Restricted Models | Empty | Only used with the "Selected Models" group — choose which models the action menu should be hidden on |
Screenshots
Without any restriction applied, selecting records in a list view shows the full action toolbar, including options like Create Invoices, Print, and Actions, right next to the selection count.
Similarly, in form view, clicking the gear icon opens the full action menu, with options like Print, Duplicate, Delete, Accrued Revenue Entry, Generate a Payment Link, Send an email, Mark Quotation as Sent, and Share.
In Settings > Users & Companies > Users, open the form of the user you want to restrict. Within that form, find the "Hide Action Menu" field and choose between No, Restricted Models, or Everywhere. If you pick Restricted Models, enter the model or models you want the restriction to apply to, here we've added Sales Order, as shown below.
Once this is set, selecting records in the Sales Order list view no longer shows the Print and Actions options, only buttons like Create Invoices remain visible.
And in form view, clicking the action gear icon now shows only the Print option, everything else is hidden.
Services
Please log in to comment on this module