Thursday, May 1, 2025
4 changes · saas-18.2
Miscellaneous changes
When we reflect inherit models in the database, we walk through the MRO to have access to the module that added the info. This mean that we skipped the inherits created by delegate fields (the info is in the `_inherits` of the final model in the registry, but we don't process it as we don't know the origin module). 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 th
Original PR description
When we reflect inherit models in the database, we walk through the MRO to have access to the module that added the info. This mean that we skipped the inherits created by delegate fields (the info is in the `_inherits` of the final model in the registry, but we don't process it as we don't know the origin module). 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-pr Forward-Port-Of: odoo/odoo#208041 Forward-Port-Of: odoo/odoo#199109
This happened because the Partner Autocomplete service was returning an empty response for this particular GST number and the code was assuming that the name was always present. Sentry - 6327760196 Forward-Port-Of: odoo/odoo#206487
Original PR description
This happened because the Partner Autocomplete service was returning an empty response for this particular GST number and the code was assuming that the name was always present. Sentry - 6327760196 Forward-Port-Of: odoo/odoo#206487
<b>Steps to reproduce:</b> 1. Install website_blog. 2. Go to Website > Site > Blog Posts > Kanban View. <b>Issue:</b> The titles in the Blog Post Pages are not displaying correctly. When the titles had long text, they overflowed their container boundaries and visually overlapped adjacent UI elements. The text-truncate class was not solving the problem, causing the titles to still overlap. <b>Solution:</b> Fixed the text overflow by applying the d-block class dir
Original PR description
<b>Steps to reproduce:</b> 1. Install website_blog. 2. Go to Website > Site > Blog Posts > Kanban View. <b>Issue:</b> The titles in the Blog Post Pages are not displaying correctly. When the titles had long text, they overflowed their container boundaries and visually overlapped adjacent UI elements. The text-truncate class was not solving the problem, causing the titles to still overlap. <b>Solution:</b> Fixed the text overflow by applying the d-block class directly to the field element, ensuring proper containment and preventing overlap. opw-4635231 Forward-Port-Of: odoo/odoo#205367
When the user changes the language in My Profile and tries to save, a traceback will appear. Steps to reproduce the error: - Install ``sign`` and ``hr`` module. - Activate multi languages - Go to Sign > Reports > Green Savings - Click on the profile icon > My Profile > Change language > Save Traceback: ``` File "/home/odoo/src/odoo/saas-18.2/addons/web/controllers/action.py", line 90, in load_breadcrumbs if act['res_model'] and act['type'] != 'ir.actions.client': KeyError: 're
Original PR description
When the user changes the language in My Profile and tries to save,
a traceback will appear.
Steps to reproduce the error:
- Install ``sign`` and ``hr`` module.
- Activate multi languages
- Go to Sign > Reports > Green Savings
- Click on the profile icon > My Profile > Change language > Save
Traceback:
```
File "/home/odoo/src/odoo/saas-18.2/addons/web/controllers/action.py", line 90, in load_breadcrumbs
if act['res_model'] and act['type'] != 'ir.actions.client':
KeyError: 'res_model'
```
https://github.com/odoo/odoo/blob/e901707961cca623acf646f5272c156928125f43/addons/web/controllers/action.py#L89
Here, ``ir.actions.report`` action does not have ``res_model``.
So, it will lead to the above traceback.
sentry-6556212172
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#208033
Forward-Port-Of: odoo/odoo#206787