Skip to content
Snippets Groups Projects
Commit dae28c4b authored by Florian Charlier's avatar Florian Charlier
Browse files

[IMP] base: add _is_internal method to res.users

No method was readily available to know if a user is `internal` (has
group `base.group_user`), which was inconsistent with other base groups.

_is_internal is now used in the codebase where it is clear that
`.has_group('base.group_user')` is called on a single record.

Part-of: odoo/odoo#85703
parent b5f3433a
No related branches found
No related tags found
No related merge requests found
Showing
with 23 additions and 23 deletions
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