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

Module: Invoicing

Entity: account.reconcile.model

Compute Method: _compute_partner_mapping

Inputs Method Outputs
for model in self:
            is_partner_mapping = model.match_label and len(model.line_ids) == 1 and model.line_ids[0].partner_id and not model.line_ids[0].account_id
            model.mapped_partner_id = is_partner_mapping and model.line_ids[0].partner_id.id

Back to entity