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.precompute

Compute Method: _compute_commercial_id

View 20.0
Inputs Method Outputs
  • partner_id
  • partner_id.commercial_partner_id
+ for record in self:
+             record.commercial_id = record.partner_id.commercial_partner_id
  • commercial_id

Back to entity