Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Test API

Entity: test_new_api.user

Compute Method: _compute_group_count

View 17.0
Inputs Method Outputs
  • group_ids
- for user in self:
-             user.group_count = len(user.group_ids)
  • group_count

Back to entity