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

Module: United States - Localizations

Entity: res.partner.bank

Compute Method: _compute_show_aba_routing

Inputs Method Outputs
  • country_code
  • acc_type
for bank in self:
            if bank.country_code == 'US' and bank.acc_type != 'iban':
                bank.show_aba_routing = True
            else:
                bank.show_aba_routing = False

Back to entity