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

Module: Base

Entity: res.partner.bank

Compute Method: _compute_color

Inputs Method Outputs
for bank in self:
            bank.color = 10 if bank.allow_out_payment else 1

Back to entity