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

Module: Payment Engine

Entity: payment.method

Compute Method: _compute_is_primary

Inputs Method Outputs
for payment_method in self:
            payment_method.is_primary = not payment_method.primary_payment_method_id

Back to entity