TIP: You can type at any time to perform a new search.
Dynamic groups
auth_dynamic_groups · OCA/server-auth
Security findings
Migration considerations
view_groups_form— For a target of Odoo 17.0+: view 'view_groups_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `delete from res_groups_users_rel where uid=%s and gid in %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `insert into res_groups_users_rel (uid, gid) values (%s, %s)` - re-check the table/column names still match after upgrading. migration-raw-sql-write · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/server-auth · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-auth
- Last tracking update
- 2026-10-03 22:59:51
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA), Therp BV
- Committers
- Weblate, OCA-git-bot, oca-travis, KKamaa
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_groups_form |
res.groups | form | Inherits base.view_groups_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (2)
-
dynamic_group_conditionTexthelp='The condition to be met for a user to be a member of this group. It is evaluated as python code at login time, you get `user` passed as a browse record' args: 'Condition' -
is_dynamicBooleanargs: 'Dynamic'
-
action_evaluate(self) -
check_expression(self, expr, gd=None, ld=None, mode='eval', nocp=False, lb=False) -
eval_dynamic_group_condition(self, uid=None)
New fields (0)
No new fields.
Public methods (1)-
update_dynamic_groups(cls, uid, db)@classmethod
Loading…
Loading…
Loading…
Loading…
Loading…