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_payment_method_line_id

View 18.0
Inputs Method Outputs
  • selectable_payment_method_line_ids
- for sheet in self:
-             sheet.payment_method_line_id = sheet.selectable_payment_method_line_ids[:1]
  • payment_method_line_id

Back to entity