Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Events Booths Sales
Entity: event.booth.registration
Compute Method: _compute_contact_phone
| Inputs | Method | Outputs |
|---|---|---|
|
for registration in self:
if not registration.contact_phone:
- registration.contact_phone = registration.partner_id.phone or registration.partner_id.mobile or False
+ registration.contact_phone = registration.partner_id.phone or False
|
|
