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

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

Back to entity