Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Account commissions OCA
Entity: commission.settlement
Compute Method: _compute_invoice_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ for record in self: + record.invoice_id = record.invoice_line_ids.filtered( + lambda x: x.parent_state != "cancel" + )[:1].move_id |
|
