Sunday, March 8, 2026
3 changes · saas-19.1
Resolved issues and error corrections
This update resolves an issue where Romanian customers without a company registry were incorrectly assigned the default VAT instead of the standard VAT. The fix removes a redundant condition that was introduced during a previous update, ensuring accurate VAT assignment based on customer VAT status.
Original PR description
Problem --------- In a recent fix, in the Tax Scheme customer node, the scheme type was recomputed correctly depending on the companyID node. However, during the fix, a condition was wrongly introduced. This will lead to some issue: when a customer has no VAT, he should be given the default VAT. However, due to condition, the customer gets given the Default VAT only when he does not have a vat NOR A COMPANY REGISTRY. Solution --------- Remove the condition no-task --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#252475
This update fixes a problem where concurrent changes to product quantities in the catalog could result in incorrect final quantities being displayed in sales orders. The fix ensures that quantity updates are processed sequentially, preventing this inconsistency and improving order accuracy. This resolves a potential issue impacting order fulfillment.
Original PR description
Issue: --- Concurrent qty update might cause issue. Steps to reproduce: --- 1- We need a DB with too many products. Also it might not be easy to reproduce the issue locally. Try runbot. 2- Create a…
Issue: --- Concurrent qty update might cause issue. Steps to reproduce: --- 1- We need a DB with too many products. Also it might not be easy to reproduce the issue locally. Try runbot. 2- Create a SO. 3- On SOL creation, click on Catalog. 4- Copy the number 100 and click on catalog records fast and paste the number rapidly. Repeat this for all records of the page. 5- Go back to SO. You might find some lines with qty = 1. Cause: --- This is a concurrency issue. In the faulty cases, `update_order_line_info` setting quantity to 1, takes a few seconds to resolve, while the update setting quantity to 100 resolves faster (around 200ms). This cause the SOL final quantity set to 1. As an example you could see two `update_order_line_info` requests for the same `product_id`, first one setting quantity to 1 and second one to 100, in which first one resolves faster. <img width="912" height="316" alt="image" src="https://github.com/user-attachments/assets/219d2d10-32bf-490f-9f2c-a6229d60b991" /> <img width="927" height="328" alt="image" src="https://github.com/user-attachments/assets/1f0bddaf-e7d0-4311-b458-4416d77562c6" /> Fix: --- We can chain RPC calls to ensure that each request is completed before starting the next one. opw-5861412 Forward-Port-Of: odoo/odoo#250104
This update fixes a bug in the Point of Sale where a warning wasn't displayed when selling products with unique serial numbers and quantities greater than one. Previously, the system didn't alert users that they were using only one serial number for multiple products. This change ensures accurate tracking and prevents potential errors during sales.
Original PR description
## Issue In the Point of Sale, when selling a product tracked by unique serial number with a quantity greater than one, no warning are displayed to the displayed as long as one serial number is…
## Issue
In the Point of Sale, when selling a product tracked by unique serial number with a quantity greater than one, no warning are displayed to the displayed as long as one serial number is given.
## Steps to reproduce
1. Install Point of Sale (`point_of_sale`)
2. In Settings, enable *Lots & Serial Numbers*
3. Create a PoS product P
- Tracked *By Unique Serial Number*
- Update its quantity and create a few serial numbers
4. In the Point of Sale, select product P and set a serial number, then update the quantity to 2.
5. **The _Valid product lot_ icon next to the product is still green. We can also go to the payment screen without any warning, even though only one serial number was selected for two products.**
## Cause
The color and name of the icon displayed next to the serial tracked product is decided here:
https://github.com/odoo/odoo/blob/3d787e1b7c2ab471694849a04bdf2d3a5ff7e515/addons/point_of_sale/static/src/app/screens/product_screen/order_summary/order_summary.xml#L9-L14
The `PosOrderLine.hasValidProductLot` is defined here:
https://github.com/odoo/odoo/blob/3d787e1b7c2ab471694849a04bdf2d3a5ff7e515/addons/point_of_sale/static/src/app/models/pos_order_line.js#L333-L341
The very first condition of this method makes the icon green as long as one serial number is selected.
opw-5486210
Forward-Port-Of: odoo/odoo#246930