get_groups does not always returns the group of the action
When the method is called with access checked as there is a record rule on ir.action
, the method returns an empty set of group ids. This is because no actions was found if the user does not share a group.
This makes the check access of Report and Wizard to never raise an error.
This was reported to me by @albertca