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 20.0
Inputs Method Outputs
  • allow_out_payment
+ for account in self:
+             account.color = 10 if account.allow_out_payment else 1
  • color

Back to entity