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

Module: Resource booking

Entity: resource.booking

Compute Method: _compute_partner_id

Inputs Method Outputs
for one in self:
            one.partner_id = one.partner_ids[:1]

Back to entity