Daily updates from Odoo
Saturday, January 31, 2026
3 changes · master
Resolved issues and error corrections
This update resolves a minor technical issue within the l10n_jo_hr_payroll module. A typographical error in the module's manifest file has been corrected, ensuring proper functionality and stability. This change doesn't impact users but maintains the integrity of the module.
Original PR description
Fix some typos in the manifest of the module. Task: 5462506 Forward-Port-Of: odoo/enterprise#103241
This update resolves an issue where the rental line description was being recalculated twice, leading to inaccurate displays. This commit streamlines the process by removing the redundant calculation, ensuring the rental line descriptions are correctly updated when the period changes. This improves the accuracy of rental information for users.
Original PR description
Two commits fixed the same issue nearly the same way, leading to a double recomputation of the rental lines description on period change. This commit removes the second recomputation as it's un-necessary. See #72201 and #70397
A bug was causing the input field in the campaign test dialog to disappear, requiring users to close and reopen the dialog to use it. This fix addresses a technical issue related to how the system resolves model selections, ensuring the input field remains functional. The scope was limited to the marketing automation module due to prioritization.
Original PR description
Steps to reproduce: 1. Install `marketing_automation` 2. Create a campaign with activity and click on `Launch a test` button 3. Clear the input field and then click outside the input area Issue: -…
Steps to reproduce: 1. Install `marketing_automation` 2. Create a campaign with activity and click on `Launch a test` button 3. Clear the input field and then click outside the input area Issue: - The input area has disappeared. Now, the only way to get it back is by closing the dialog and reopening it Cause: - Field `resource_ref` uses `hide_model: True`, and when cleared, the widget has no value and no model selector to determine the target model because of the function `getRelation` that now returns `undefined`, by this XML fails to render the `<Many2OneField/>` https://github.com/odoo/odoo/blob/7680b83501cef18362be38f90715d824f2bf9cd6/addons/web/static/src/views/fields/reference/reference_field.js#L107-L119 Solution: - Add `model_field: model_id` option to the view so the widget can resolve the model from the `model_id` field even when input is empty Note: - This behavior also occurs in other places. After discussion with the framework team, we agreed to keep the scope of this PR limited to marketing_automation, as this is not a priority issue. A broader fix can be addressed in the master if needed. opw-5473320 Forward-Port-Of: odoo/enterprise#104547