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

Module: Field Service - Accounting Payment

Entity: account.payment

Compute Method: _compute_fsm_order_ids

Inputs Method Outputs
  • reconciled_invoice_ids
for record in self:
            fsm_orders = record.reconciled_invoice_ids.mapped("fsm_order_ids")
            record.fsm_order_ids = [Command.set(fsm_orders.ids)]

Back to entity