Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Test ORM
Entity: test_orm.recursive.task
Compute Method: _compute_line_id
| Inputs | Method | Outputs |
|---|---|---|
|
- self.line_id = False - for record in self: - domain = [('order_id.value', '=', record.value)] - record.line_id = record.line_id.search(domain, order='id desc', limit=1) |
|
