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

Compute Method: _compute_payment_method_line_id

Inputs Method Outputs
for expense in self:
            expense.payment_method_line_id = expense.selectable_payment_method_line_ids[:1]

Back to entity