Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Sales - Project
Entity: project.task
Compute Method: _compute_task_to_invoice
| Inputs | Method | Outputs |
|---|---|---|
|
for task in self:
if task.sale_order_id:
task.task_to_invoice = bool(task.sale_order_id.invoice_status not in ('no', 'invoiced'))
else:
task.task_to_invoice = False
|
|
