b98425b1d98afd1fa8b292ba7d795a277e5bbc79
When you add items in the cart it always show the number of available left in stock of the previous state for example : 1- cart is empty it shows 20 items 2- add one into cart - it shows 20 items left in stock (should be 19) 3- add another one into cart - it show 19 items left in stock (should be 18) Steps to reproduce the error : 1 - Go to one of the product and make sure that it has some available quantity 2 - Go to sale configuration on the product and remove "out-of-stock : continue selling" and add show available qty only if below 5000 for example 3 - Go the web page of the product and try to add some items into the cart you will see that the stock message is wrong The origin of the problem is that when we have optional products activated , it will launch a product configurator modal. After posting the update in the database there is no call to the function that updates the stock message. opw-3341377 closes odoo/odoo#126802 X-original-commit: cec84ac8f761b516aef61e2721b7d619834be730 Signed-off-by: Mahdi Cheikh Rouhou (macr) <macr@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%