Skip to content
Snippets Groups Projects
user avatar
Nicolas Martinelli authored
- In Website > Settings, set 'Show inventory on website and prevent
  sales if not enough stock'
- Create a consumable product P, publish on the eCommerce
- As user 1, buy 1 units of P => validate the SO => 1 unit is reserved
- As user 2, add 1 unit of P to the cart. In the cart click on the `+`
  to add a unit

The product is removed from the cart.

This happens because `virtual_available` quantity is taken into account,
while it shouldn't be since it is a consumable.

opw-2245075

closes odoo/odoo#50401

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
ec6f281f
History
Name Last commit Last update