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.invoice.plan
Compute Method: _compute_last
| Inputs | Method | Outputs |
|---|---|---|
|
for rec in self:
last = max(rec.purchase_id.invoice_plan_ids.mapped("installment"))
rec.last = rec.installment == last
|
|
