Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Product Multi Price
Entity: product.template
Compute Method: _compute_price_ids
| Inputs | Method | Outputs |
|---|---|---|
|
- for p in self: - if p.product_variant_count == 1: - p.price_ids = p.product_variant_ids.price_ids - else: - p.price_ids = False |
|
