Thursday, May 1, 2025
8 changes · saas-18.1
Miscellaneous changes
Before this commit, draft orders were incorrectly synced to the server in non-restaurant PoS, causing several issues. This commit ensures that draft orders are only synced when the POS is in restaurant mode, preventing unintended behavior. opw-4624604 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#200211
Original PR description
Before this commit, draft orders were incorrectly synced to the server in non-restaurant PoS, causing several issues. This commit ensures that draft orders are only synced when the POS is in restaurant mode, preventing unintended behavior. opw-4624604 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#200211
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#206787When 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
ISSUE: when trying to archive employees who are connected to planning slots an exception is raised REPRODUCE: - Select all employees - try to Archive - the `strptime` method needs the argument to be string but the values dict has the dates values as datetime objects. so, convert the values using `str` Task: 4734621 Forward-Port-Of: odoo/enterprise#83575
Original PR description
ISSUE: when trying to archive employees who are connected to planning slots an exception is raised REPRODUCE: - Select all employees - try to Archive - the `strptime` method needs the argument to be string but the values dict has the dates values as datetime objects. so, convert the values using `str` Task: 4734621 Forward-Port-Of: odoo/enterprise#83575
Issue: Congested Images when using resources in an appointment with more text as a description. Steps to reproduce: 1. Install appointment 2. Appointment > edit > Resources(with long description) 3. Go to appointment page(review) > Congested Logo Solution: Added flex-shrink-0 with .o_appointment_user_avatar class to prevent the avatar from shrinking in flex layouts. Updated the template to: Add margin to the avatar container for proper spacing. Removed align-items-center to allow
Original PR description
Issue: Congested Images when using resources in an appointment with more text as a description. Steps to reproduce: 1. Install appointment 2. Appointment > edit > Resources(with long description) 3. Go to appointment page(review) > Congested Logo Solution: Added flex-shrink-0 with .o_appointment_user_avatar class to prevent the avatar from shrinking in flex layouts. Updated the template to: Add margin to the avatar container for proper spacing. Removed align-items-center to allow the content to align naturally from the top. opw-4668023 Forward-Port-Of: odoo/enterprise#83200
In GSTR-2B, while doing the matching for previous bills, we want to avoid The bills that are already reconciled and marked as partially matched or fully matched. Sometimes, it's possible that there can be more than one bill with the same The reference number and if any of them has been already reconciled then We want to avoid it again being reconciled in next return periods. opw-4744438 Forward-Port-Of: odoo/enterprise#84497
Original PR description
In GSTR-2B, while doing the matching for previous bills, we want to avoid The bills that are already reconciled and marked as partially matched or fully matched. Sometimes, it's possible that there can be more than one bill with the same The reference number and if any of them has been already reconciled then We want to avoid it again being reconciled in next return periods. opw-4744438 Forward-Port-Of: odoo/enterprise#84497