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

Module: Sales

Entity: sale.order

Compute Method: _compute_authorized_transaction_ids

Inputs Method Outputs
for trans in self:
            trans.authorized_transaction_ids = trans.transaction_ids.filtered(lambda t: t.state == 'authorized')
            trans.has_authorized_transaction_ids = bool(trans.authorized_transaction_ids)

Back to entity