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_nb_expense

View 17.0
Inputs Method Outputs
  • expense_line_ids
- for sheet in self:
-             sheet.nb_expense = len(sheet.expense_line_ids)
  • nb_expense

Back to entity