Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Website Sale Slides Multi Qty
Entity: slide.channel.partner
Compute Method: _compute_used_registrations
| Inputs | Method | Outputs |
|---|---|---|
|
+ for record in self: + record.used_registrations = ( + len(record.child_channel_partner_ids) + + int(record._is_individual_course_registration()) + if record.sale_order_line_ids + else 1 + ) |
|
