OdooWiki OCA HUB

Fix trans implied groups computation

fix_compute_trans_implied_groups folder_open OCA/server-tools open_in_new
Tools License: AGPL-3

The computation of res.groups.trans_implied_ids is broken, check it by executing the following steps:

  • Install sale module
  • In the Odoo shell execute: env["res.groups"].get_groups_by_application()

Actual result [..., (ir.module.category(52,), 'boolean', res.groups(22, 21, 20), (100, 'Other')) , ...]

Expected result [..., (ir.module.category(52,), 'selection', res.groups(20, 21, 22), (5, 'Sales')) , ...]

Additional info The result of get_groups_by_application is correct if the computation of res.groups.trans_implied_ids is called executing: env["res.groups"].search([])._compute_trans_implied()

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Corrects how Odoo calculates the full list of groups a user indirectly belongs to through group inheritance, so group lists and app menus show the right groups and categories.

This module is a technical fix for the way Odoo works out which groups are indirectly granted through other groups (for example, a Sales Manager group that implies a Sales User group). It changes the res.groups model by making the trans_implied_ids field recursive, so the full chain of implied groups is computed correctly instead of only the first level.

Because of this, screens and features that rely on that list — such as the list of groups shown per application and the categories used to organise groups — display the correct groups and the correct category. Before the fix, a group could appear under the wrong category or with the wrong type.

The module adds no menus, buttons, reports or scheduled actions of its own. It only corrects an existing computation in the base access-rights system. It depends only on the base module, so it applies to every Odoo installation and affects all areas that use groups and access rights, including the group management screens and the application/group overview.

Depends on

base
Models and fields (1)
  • res.groups · extends an existing modeltrans_implied_ids

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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/server-tools.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.