OdooWiki OCA HUB

Base Action Visibility Restriction

base_action_visibility_restriction folder_open OCA/server-ux open_in_new
Extra Tools License: AGPL-3

This module allows assigning "excluded groups" to Server and Window actions.

If a user belongs to a group that is assigned to an action as an excluded group, the user will not be able to see the action in the UI.

This can be useful when you just want to restrict access to actions for a specific user or small group of users.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets administrators hide Server Actions and Window Actions from specific user groups by listing those groups as "Excluded Groups" on the action itself.

This module adds a new field called Excluded Groups to two kinds of actions in Odoo: Server Actions and Window Actions. Administrators can open an action's form and, next to the existing allowed-groups field, pick one or more user groups that should NOT see or use that action.

  • If a user belongs to any of the excluded groups, the action is removed from the list of available actions shown in the user interface, so it simply does not appear for them.
  • For Server Actions, an extra safety check is added: if a user in an excluded group somehow tries to run the action, Odoo blocks it with an access-rights error instead of executing it.

The feature is configured directly on the action records, in the same place where action groups are normally set, so no separate menu is needed. It touches the action models ir.actions.actions, ir.actions.server and ir.actions.act_window, and it works together with the standard group-based visibility rules already present in Odoo. It is useful when you want to keep an action available to most users but hide it from a small set of people or a single team.

Depends on

base
Models and fields (3)
  • ir.actions.server · extends an existing modelexcluded_group_ids (Excluded Groups)
  • ir.actions.actions · extends an existing model
  • ir.actions.act_window · extends an existing modelexcluded_group_ids (Excluded Groups)

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 13.0

Confirmed on 2026-11-03 in branch 13.0 of OCA/server-ux.

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module, you need to:

  • Activate the developer mode
  • Go to Settings > Technical and select either Windows Actions or Server Actions.
  • Search for any server/window action and edit it.
  • Open tab Security and update "Excluded groups" with one group.
  • Login with a user of that group, and you won't see the action in the binding model.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.