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

Module: Test ORM

Entity: test_orm.acl.partner.bank

Compute Method: _compute_account_holder_name

View 20.0
Inputs Method Outputs
  • holder_name
  • partner_id
  • partner_id.name
+ for account in self:
+             if not account.holder_name:
+                 account.holder_name = account.partner_id.name
  • holder_name

Back to entity