Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Expenses

Entity: hr.expense.sheet

Compute Method: _compute_product_ids

View 17.0
Inputs Method Outputs
  • expense_line_ids
- for sheet in self:
-             sheet.product_ids = sheet.expense_line_ids.mapped('product_id')
  • product_ids

Back to entity