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
Entity: event.booth
Compute Method: _compute_contact_phone
| Inputs | Method | Outputs |
|---|---|---|
|
for booth in self:
if not booth.contact_phone:
- booth.contact_phone = booth.partner_id.phone or booth.partner_id.mobile or False
+ booth.contact_phone = booth.partner_id.phone or False
|
|
