Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Purchase Invoice Plan
Entity: purchase.order
Compute Method: _compute_ip_total
| Inputs | Method | Outputs |
|---|---|---|
|
- for rec in self: - installments = rec.invoice_plan_ids.filtered("installment") - rec.ip_total_percent = sum(installments.mapped("percent")) - rec.ip_total_amount = sum(installments.mapped("amount")) |
|
