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

Module: Account Payment Batch OCA

Entity: account.payment.method.line

Compute Method: _compute_payment_order_ok

Inputs Method Outputs
  • payment_method_id
  • payment_method_id.payment_order_ok
  • selectable
for mode in self:
            payment_order_ok = mode.payment_method_id.payment_order_ok
            if not mode.selectable:
                payment_order_ok = False
            mode.payment_order_ok = payment_order_ok

Back to entity