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

Module: Maintenance Partner

Entity: maintenance.request

Compute Method: _compute_partner_id

Inputs Method Outputs
  • equipment_id
  • equipment_id.assigned_partner_id
for request in self:
            if request.equipment_id:
                request.partner_id = request.equipment_id.assigned_partner_id

Back to entity