Skip to content
Snippets Groups Projects
Commit 459e6dc1 authored by Nans Lefebvre's avatar Nans Lefebvre
Browse files

[FIX] base: check group constraints when adding implied groups


Since commit 5f12e244, the write of implied groups is done directly in SQL,
bypassing the ORM writes, and thus bypassing the python constraints checks.
In particular such a constraint was added in f206714a.
We add back an explicit check of this constraint;
however we rewrite it in SQL to be fast.

closes odoo/odoo#35411

closes odoo/odoo#36769

Signed-off-by: default avatarNans Lefebvre (len) <len@odoo.com>
Signed-off-by: default avatarNans Lefebvre (len) <len@odoo.com>
parent 0dccd432
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment