Daily updates from Odoo
Friday, February 13, 2026
5 changes · 17.0
Resolved issues and error corrections
This update resolves an issue where attendance managers couldn't correctly edit the attendance records of their subordinates. The fix ensures both managers and officers can now modify attendance data, improving workflow efficiency. The changes also included enhanced testing for greater reliability.
Original PR description
The commit https://github.com/odoo/odoo/commit/d115cca1296c0bd20a2875bdaadf2a9136c33dda introduced the opportunity for attendance managers to edit their subordinates attendances, but the condition was lacking parenthesis, leading to an unexpected behaviour. This commit changes the condition so that it is possible both for a manager and an officer to do the edition. It also rewrite the tests in order to be more thorough. No related task
This update resolves an issue where comments within XML invoices (specifically around TaxExclusiveAmount) were causing the system to fail to recognize and process invoices. The fix ensures that comments are removed during XML parsing, allowing invoices to be correctly uploaded and processed. This prevents empty invoices from being created.
Original PR description
Issue: Comments in node with data as text may cause issue while reading data Step to reproduce: - In European company create an invoice to a company in the same country - Send it with peppol - Download the XML of the invoice - Add a comment right before the value in TaxExclusiveAmount like this <cbc:TaxExclusiveAmount><!-- -->0.00</cbc:TaxExclusiveAmount> - Go to accounting Dashboard - Click on "Upload" in the vendor dashboard - Select the previously modified XML Current behavior: - an empty invoice is created as the invoice builder failed Expected behavior: - Invoice should be recognized Cause: lxml treat data like this: <parentNode>parent_text<childNode>child_text</childNode>child_tail</parentNode>parent_tail So `tax_exclusive_amount_node.text` return '' instead of `0.00` opw-5462664 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#247549
This update corrects a bug where Odoo incorrectly reported stock availability in the past, particularly when considering stock locations within a hierarchy. The fix ensures that available quantities are accurately calculated, reflecting actual stock levels as of a specified date, even when locations are nested. This improves the reliability of stock reports and inventory management.
Original PR description
Problem, Odoo check the stock.move to decrease the quantity if we want available product quantity in a past. If i valid a stock move for new product with location_dest_id = A and stock.move.line with location_dest_id = B (B child of A) and i check the quantity in a past in B location, Odoo return the quant quantity in B location without decrease the last move line. Before fix: product.with_context(location=B).qty_available = 1 product.with_context(to_date="2025-09-01", location=B).qty_available = 1 After fix: product.with_context(location=B).qty_available = 1 product.with_context(to_date="2025-09-01", location=B).qty_available = 0 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves an issue where test runs were repeatedly generating unnecessary assets, slowing down the testing process. By adding the 'studio_assets' bundle to the pregeneration list, tests now run more efficiently and reliably. This improves overall development speed and stability.
Original PR description
During tests runs, lazy loaded assets are generated on the fly, and eventually multiple hundred of times (i.e. +/- 150 times on runbot). This commit adds the `web_studio.studio_assets` bundle to the pregeneration list to avoid regenerating during tests runs.
This update resolves an issue where DHL shipping rate requests failed when submitted late in the day. The fix adds a 'next business day' flag to the request, ensuring rates are calculated correctly and preventing errors related to unavailable pickup dates. This improves the reliability of DHL shipping calculations.
Original PR description
Before this commit, there was an issue when trying to get the rates for DHL shipping late in the day. The issue happened because `plannedShippingDate` fell outside of the working hours. This commit adds the nextBusinessDay flag for the rating request to avoid the error. Error: ``` Product not found 996: The requested product(s) not available for the requested pickup date. Process ID associated for this transaction') ``` opw-5393684