Saturday, September 26, 2026
3 changes · saas-19.4
Resolved issues and error corrections
This fix makes an automated mail test wait for the selected model to fully load before continuing. It reduces false test failures caused by slow server responses, helping keep releases and validation pipelines more stable.
Original PR description
Before this commit, mail_template_dynamic_placeholder_tour could fail when the server answers the onchange of "Applies to" slowly: Tour mail_template_dynamic_placeholder_tour failed at step Check if…
Before this commit, mail_template_dynamic_placeholder_tour could fail when the server answers the onchange of "Applies to" slowly:
Tour mail_template_dynamic_placeholder_tour failed at step Check if
the dynamic placeholder popover is opened
(trigger: div.o_model_field_selector_popover)
This happens because the tour waits a fixed 200ms after picking "Contact" before typing "#" in the subject. The popover needs the model, and the record only holds the model once the onchange answers. On runbot the answer came after 230ms, so "#" showed the "select a model" notification instead of the popover.
This commit fixes the issue by waiting for the internal link button of the many2one, which only renders once the record holds the model.
Note that this step relies on "[FIX] web: cancel the pending search on autocomplete select": without it, a search still pending on the picked value marks the input as edited, which hides that button.
https://runbot.odoo.com/odoo/error/947209
Ref commit: https://github.com/odoo/odoo/pull/287888
Forward-Port-Of: odoo/odoo#290364
Forward-Port-Of: odoo/odoo#290185The Swiss payroll employee form now includes the work permit expiration date on the personal information page. This helps HR teams keep employee records complete and supports automated contract status checks that rely on this date.
Original PR description
…_date in employee form Add work_permit_expiration_date in Personnal Information page field is added in the standard view here: https://github.com/odoo/odoo/blob/18.0/addons/hr/views/hr_employee_views.xml#L184 this module override standard employee form view by making the entire Personal Information page invisible if CH and rewriting it: https://github.com/odoo/enterprise/blob/18.0/l10n_ch_hr_payroll_elm_transmission/views/l10n_ch_hr_payroll_employee_views.xml#L23 standard module hr_contract use this field in method [update_state](https://github.com/odoo/odoo/blob/18.0/addons/hr_contract/models/hr_contract.py#L184) called by cron [ir_cron_data_contract_update_state](https://github.com/odoo/odoo/blob/18.0/addons/hr_contract/data/hr_contract_data.xml#L53) Forward-Port-Of: odoo/enterprise#129875
Documentation and clarification updates
This update records the Individual Contributor License Agreement signature for the contributor @mmircoli-nexapp. It ensures the related contribution can be accepted under Odoo's legal contribution requirements.
Original PR description
Signature of the Odoo Individual Contributor License Agreement v1.0 for @mmircoli-nexapp, needed for the fix related to #290493. I confirm I have read the [CLA](https://github.com/odoo/odoo/blob/18.0/doc/cla/icla-1.0.md) and that the committer email matches the one used in my contributions. Forward-Port-Of: odoo/odoo#290549