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_is_multiple_currency
| Inputs | Method | Outputs |
|---|---|---|
|
- for sheet in self: - sheet.is_multiple_currency = any(sheet.expense_line_ids.mapped('is_multiple_currency')) \ - or len(sheet.expense_line_ids.mapped('currency_id')) > 1 |
|
