Daily updates from Odoo
Monday, June 9, 2025
6 changes · 18.0
Resolved issues and error corrections
This fixes an issue in Point of Sale where using the +/- button on a product quantity or price changed the value to 0 instead of making it negative. Cashiers can now correctly enter negative quantities or prices when needed, reducing checkout errors and manual corrections.
Original PR description
Before this commit =============== Previously, when adding a product and clicking the "+/-" button, the quantity and price would change to "0" instead of becoming negative. After this commit ============= After implementing this commit, pressing the +/- button now results in the quantity and price value changing to negative instead of changing it to 0. task- 3869556
Employees on flexible working calendars can now record time off for the exact number of hours requested. This prevents timesheets linked to time off from incorrectly showing every hourly request as 4 hours, improving payroll and project tracking accuracy.
Original PR description
WIP: This change allows an employee on a flexible working calendar to request time off for any number of hours, and have that time off show up as an equivalent amount of hours on the timesheet. Before this change, any time off that was requested in hours would show up as 4 hours on the associated project timesheet for that time off type. Steps to reproduce: - Using a time off type that is associated with a project timesheet, create a time off request for 2 hours for an employee on a flexible working schedule. - Approve this time off request and see that on this employees timesheet, there is an entry for 4 hours, instead of 2. - You can repeat this test for any amount of hours and see that the timesheet entry is always 4 hours. opw-4745945
BOM cost reports now include subcontracting costs even when the requested quantity does not match a supplier's minimum quantity exactly. This makes manufacturing cost reports more complete and consistent, helping users avoid missing subcontracting expenses in planning and analysis.
Original PR description
Description of the issue/feature this PR addresses: When visualizing the structure of a BOM with subcontracted components, the subcontracting cost is omitted if no supplierinfo record exists with a…
Description of the issue/feature this PR addresses: When visualizing the structure of a BOM with subcontracted components, the subcontracting cost is omitted if no supplierinfo record exists with a `min_qty` less than or equal to the requested quantity. This leads to an inconsistent experience compared to regular components, which still show a price by selecting the closest lower `min_qty`. For subcontracted components, if the requested quantity does not match any valid `supplierinfo`, the cost line silently disappears from the report. Current behavior before PR: The subcontracting cost is not shown in the BOM cost structure if no `supplierinfo` matches the requested quantity (i.e., `min_qty > quantity`). Desired behavior after PR is merged: If no matching supplier is found for the requested quantity, the fallback logic uses any available supplierinfo (as already done in `_format_route_info`), ensuring a price is shown for subcontracted lines. This guarantees the BOM cost structure always includes the subcontracting cost, making the report complete and coherent. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Website editor overlay buttons now show helpful tooltips, making it easier for users to understand actions like sending a content block backward or bringing it forward. This reduces confusion when arranging snippets in grid layouts and also corrects tooltip arrow styling for a more consistent interface.
Original PR description
The overlay action buttons for sending a snippet to the back or front in the website editor were unclear. This commit adds tooltips to these buttons, providing better clarity on their functionality. Steps to reproduce issue: 1. Drop a text block using website editor. 2. Click on the text-block and increase the number of columns to 3. 3. Convert to grid mode. 4. Now click on the text-block and check the action buttons for send back and bring front. Before this commit: - It was confusing to identify which button would send the snippet to the back or bring it to the front. Additionally, the icons were insufficient in conveying the button's purpose After this commit: - Tooltips have been added to the overlay action buttons, providing clear descriptions of their functions. Additionally, tooltips have been added to the rest of the overlay action buttons. task-4497684
Miscellaneous changes
The aim of this commit is to provide a NIS code mapping for every country created by default in Odoo. Before this commit: If a 281.50 was created for someone in one of these countries, it would miss the `f2112_buitenlandspostnummer` field in the xml file resulting in the administration rejecting the file. After this commit: A pragmatic completion is made for those countries in `f2112_buitenlandspostnummer`. task: None Forward-Port-Of: odoo/enterprise#87081
Original PR description
The aim of this commit is to provide a NIS code mapping for every country created by default in Odoo. Before this commit: If a 281.50 was created for someone in one of these countries, it would miss the `f2112_buitenlandspostnummer` field in the xml file resulting in the administration rejecting the file. After this commit: A pragmatic completion is made for those countries in `f2112_buitenlandspostnummer`. task: None Forward-Port-Of: odoo/enterprise#87081
**Steps to Reproduce :** 1. Install l10n_cl_edi. 2. Navigate to Contacts create an invoice for CL Company 3. Choose the document type: (33) Electronic Invoice. 4. Confirm the invoice. 5. Ensure the partner has only the street value set (e.g., "Name"), and street2 is empty. **Issue:** When generating the DTE, if street2 is empty, a trailing space appears in the <DirOrigen> tag ex: `DirOrigen>Name </DirOrigen>` **Solution:** Applied strip() to remove the extra space when stre
Original PR description
**Steps to Reproduce :** 1. Install l10n_cl_edi. 2. Navigate to Contacts create an invoice for CL Company 3. Choose the document type: (33) Electronic Invoice. 4. Confirm the invoice. 5. Ensure the partner has only the street value set (e.g., "Name"), and street2 is empty. **Issue:** When generating the DTE, if street2 is empty, a trailing space appears in the <DirOrigen> tag ex: `DirOrigen>Name </DirOrigen>` **Solution:** Applied strip() to remove the extra space when street2 is empty. This ensures no trailing space when street2 is empty and proper spacing when both street and street2 is present. opw-4765451 Forward-Port-Of: odoo/enterprise#85110