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

Module: Test ORM

Entity: test_orm.compute.member

Compute Method: _compute_container_context_id

View 20.0
Inputs Method Outputs
+ field_name = 'container_super_id' if self.env.user._is_superuser() else 'container_id'
+ for member in self:
+             member.container_context_id = member[field_name]
  • container_context_id

Back to entity