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 SEPA Base

Entity: account.payment.order

Compute Method: _compute_batch_booking

Inputs Method Outputs
  • payment_method_line_id
  • payment_method_line_id.default_batch_booking
for order in self:
            batch_booking = False
            if order.payment_method_line_id:
                batch_booking = order.payment_method_line_id.default_batch_booking
            order.batch_booking = batch_booking

Back to entity