Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Events Product
Entity: event.registration
Compute Method: _compute_registration_status
| Inputs | Method | Outputs |
|---|---|---|
|
+ if not self._has_order(): + for reg in self: + if not reg.sale_status: + reg.sale_status = 'free' + if not reg.state: + reg.state = 'open' |
|
