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

Module: Mail Tests

Entity: mail.test.recipients

Compute Method: _compute_customer_phone

View 19.0
Inputs Method Outputs
  • customer_id
  • customer_id.phone
+ for source in self.filtered(lambda r: r.customer_id and not r.customer_phone):
+             source.customer_phone = source.customer_id.phone
  • customer_phone

Back to entity