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

Inputs Method Outputs
for sheet in self:
            sheet.nb_expense = len(sheet.expense_line_ids)

Back to entity