Daily updates from Odoo
Wednesday, January 15, 2025
10 changes
1 change
Resolved issues and error corrections
This change corrects a problem in web navigation tests caused by a previous update. It helps keep automated checks reliable so future changes to the web interface can be validated with confidence.
Original PR description
Fixes test broken by: be23ed0 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
1 change
Resolved issues and error corrections
This fixes an issue in the manufacturing planning forecast details where purchase order quantities could be handled incorrectly. The change uses the quantity value that is already in the right unit, helping ensure planning figures are accurate without unnecessary conversion.
Original PR description
There was an error due to this PR: https://github.com/odoo/odoo/pull/186250 The field in the wizard should have been renamed, but since `product_uom_qty` is already in the correct unit, we can simply do the sum without converting.
8 changes
Resolved issues and error corrections
Avatar profile cards now use better colors and rounded edges in dark theme, making status indicators, borders, and text easier to see. The light theme remains essentially unchanged, so this mainly improves readability and polish for users who prefer dark mode.
Original PR description
- im status background was white in all themes, this is now the card color in all themes. - avatar card color was too grey in dark theme, which made reading text content in card hard. This is now darker for better contrast. - border is darker in dark theme too, so it's less harsh. - borders in corners of avatar card were cut due to lack of rounded of card container. This commit adds `.rounded` to not cut corners. Style in white theme is essentially unchanged. Before / After  
Fixes how incoterms appear on printed requests for quotation after the document layout redesign. This ensures purchase documents show delivery terms in the right place, reducing confusion for buyers and vendors.
Original PR description
Since the [document layout redesign](odoo/odoo@e19efd2f54014425b14defd6015b9a71c1142385), the incoterms in rfq are wrongly displayed.
This is due to the dynamic title which breaks the xpath, xpathing the incoterms in the `<h2>` instead of after it.
This commit fixes the xpath to properly display the incoterms.
opw-4380886
task-4453695
<h3>Steps to reproduce</h3>
- Choose any document layout
- Have purchase & Inventory installed
- Create a request for quotation
- In the "other information" tab, choose an incoterm
- Print the RFQ
| Issue | Fix |
|--------|--------|
|  |  |
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis fix prevents automatic typo corrections from running during system upgrades, reducing the risk of unintended text or configuration changes. It helps keep upgraded databases closer to their original content and improves upgrade reliability.
Original PR description
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
This fixes a display issue where linked images in a website image gallery could shift left when the page was zoomed out. Image galleries now keep their intended centered layout whether or not an image has a link, improving visual consistency for visitors and editors.
Original PR description
Steps to reproduce the issue: - In Website edit mode, drag and drop an "Image Gallery" block onto the page. - Select "Full" as the "Content Width" option for the "Image Gallery" block. - Click on the image. - Add a link to the image. - Zoom the page to 50% using the browser tool. - Bug: the image is aligned to the left instead of being centered. - Remove the link: the image is correctly centered. opw-4458747
This fixes an issue where clicking a button could incorrectly display a tooltip. Users now get a cleaner interface with fewer distracting popups during normal actions.
Original PR description
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
This fixes an error that prevented users from printing Ecuadorian withholding documents after creating them from a vendor bill. The report now uses the right tax summary data, avoiding a crash and allowing normal document printing.
Original PR description
Since https://github.com/odoo/odoo/commit/d0e7be7832672d476f1b289af52d3a425990d719 we're trying to access some keys in `account.document_tax_totals_template` that are not present in the subtotals dict from the withhold tax summary. Steps: - Create and confirm a bill - Add a withhold and open it - Try to print it -> TB: 'KeyError' opw-4433279
This fixes an incorrect field reference used when accessing a private key for Belgian payroll certificates. It helps prevent failures in certificate handling caused by the system looking for the wrong key name.
Original PR description
The code currently tries to access `private_key_id_id` which is actually `private_key_id`. opw-4466293
Creating an automation rule from Documents now correctly carries over the predefined trigger settings into the new rule form. This prevents users from having to manually reselect expected options and makes the Documents-to-Automations workflow more reliable.
Original PR description
The purpose of this commit is to ensure that when a user comes from Documents to Automations Rules, the pre-filled creation form takes into account the 'default_trigger_ids' defined in the window action. see odoo/odoo#193206 see odoo/enterprise#75179 task-4481308