Daily updates from Odoo
Tuesday, June 30, 2026
2 changes
1 change
Resolved issues and error corrections
This update fixes an error that could appear during website checkout for Peruvian customers. It corrects the underlying form setup so the address fields load properly after the 19.2 upgrade, preventing the checkout page from crashing.
Original PR description
Issue: ------ `l10n_pe.address_form_fields` inherits from `portal.address_form_fields` but targets a `<div>` element that has been moved to `portal_address_extended.address_extended_form_fields` in…
Issue:
------
`l10n_pe.address_form_fields` inherits from `portal.address_form_fields` but targets a `<div>` element that has been moved to `portal_address_extended.address_extended_form_fields` in [saas~19.2].
Traceback:
----------
```py
Error while rendering the template:
ValueError: Element '<div id="div_city_id">' cannot be located in parent view (view: l10n_pe.address_form_fields)
Template: website_sale.address
Reference: 1973
Path: /t/t/div/div/form/div/t
Element: <t t-call="website_sale.address_form_fields"/>
```
Steps to reproduce:
-------------------
1. Install `l10n_pe` and `website` in v19
2. Upgrade to v19.2
3. Go to the website and add a product to the cart
4. Go to checkout → Traceback
Root cause:
-----------
The view is adapting an element owned by a sibling view, making the inheritance hierarchy conceptually wrong and fragile.
Solution:
---------
Update the `inherit_id` of `l10n_pe.address_form_fields` to `portal_address_extended.address_extended_form_fields` so it correctly inherits from the view that owns the targeted element.
opw: [6302145]
[saas~19.2]: https://github.com/odoo/odoo/commit/026c6f9f2a388ee509a135c53e38f5bb3d08ff73#diff-83bb066f4477532b76aadd957ae736d0c0b67bc66b48d6f47c035e8cfb4773deR7-R21
[6302145]: https://www.odoo.com/odoo/70/tasks/6302145?debug=1
Description of the issue/feature this PR addresses:
Current behavior before PR:
Desired behavior after PR is merged:
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr1 change
Resolved issues and error corrections
This change fixes a crash that prevented the Master Production Schedule page from opening. It updates the page customization so it matches the current interface component name, restoring access to the MPS feature.
Original PR description
Issue Before This Commit: ------------------------------------------- Opening the Master Production Schedule (MPS) view caused the page to crash, preventing users from accessing the feature. Steps to…
Issue Before This Commit: ------------------------------------------- Opening the Master Production Schedule (MPS) view caused the page to crash, preventing users from accessing the feature. Steps to Reproduce: -------------------------------------- 1. Install the mrp_mps module. 2. Go to Manufacturing -> Planning -> Master Production Schedule. 3. Observe that the page crashes with the following error: Element '<xpath expr="//Dropdown/t[@t-set-slot='content']/t[node()]" position="before"> <GroupMenu items="this.env.model.data.groups[0]"/> </xpath>' cannot be located in element tree Cause of the issue: ---------------------------- The XPath override was targeting the `Dropdown` component. After the component was renamed to `SearchBarDropdown` in this [PR](https://github.com/odoo/odoo/pull/269592), the XPath no longer matched, causing the view inheritance to fail and the MPS page to crash. After This Commit: ------------------------------------ Update the XPath to target `SearchBarDropdown` instead of `Dropdown`, restoring the view inheritance and preventing the crash when opening the Master Production Schedule.