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_accounting_date

View 17.0
Inputs Method Outputs
  • account_move_ids
- for sheet in self.filtered('account_move_ids'):
-             sheet.accounting_date = sheet.account_move_ids[:1].date
  • accounting_date

Back to entity