Wednesday, October 8, 2025
5 changes · 17.0
Resolved issues and error corrections
Reports now correctly show one-to-many field values, matching how other related fields already display. This prevents missing or incorrect information in generated business documents that rely on those fields.
Original PR description
For now, `One2Many` fields are not displayed correctly in reports. This is because for other types of fields (`ManyToMany`, `ManyToOne`, etc.), there are Converter classes (`ManyToManyConverter`) `ir.qweb.field.many2many` that implement `value_to_html`. However, for `OneToMany` fields, no implementation is present. This commit adds a `OneToManyConverter`, which is essentially the same as the `ManyToMany `one. opw-5098466
This fix adjusts the Sales Timesheet invoice wizard so its settings can be read correctly by both Odoo and Python-based customizations. It reduces the risk of errors for businesses using customized invoice workflows involving timesheets.
Original PR description
Versions -------- - 17.0+ Issue ----- Some customizations may parse XML views using Python, in which case the `date_start_invoice_timesheet` field could return an error, as the `options` attribute uses a Javascript boolean `true`. Solution -------- Use `'true'`, which will get parsed as `true` in JS via `archParseBoolean`.
The Dutch localization now uses the correct default accounts for deferred expenses and income. This helps Dutch companies post deferred amounts to the right balance sheet accounts and improves the accuracy of financial reporting.
Original PR description
The default deferred accounts in the Dutch localization were incorrect. This commit sets the proper accounts and adjusts the `account_type` of the default deferred expense account from "Prepayments" to "Current Assets". task-5152529 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents users from creating new Swiss payroll workplace names directly from the contract form when that shortcut could trigger an error. Users can still select existing workplace records, reducing confusion and avoiding failed contract updates.
Original PR description
The _rec_name was previously set to partner_id, causing type errors when typing a new workplace name in a Many2one field. Couldn't change it to anything else, as one should have to create a new field in that stable version and this is not the best practice. As a workaround, the corresponding field in the l10n_ch_hr_contract_views.xml is removed from it the quick_create to prevent the creation of new names on the fly. task-5043056
This fixes an issue where custom hour or half-day selections could be cleared when an employee changed the time off type. The change helps users keep their intended leave request settings and reduces accidental re-entry.
Original PR description
- made the value of checkboxes for `request_unit_half` and `request_unit_hours` stay the same when switching between timeoffs that can have hourly type task-id: 5085389 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr