Files
odoo_source/addons
Nicolas Martinelli fb786296a5 [FIX] website_sale_stock: products in multiple warehouses
- Create 2 warehouses A & B
- In the website settings, set the `inventory_availability` as `always`,
  but do not set a warehouse
- Create a Product P, make some stock in warehouse A
- Create a Product Q, make some stock in warehouse B
- Publish the products
- Go to `/shop` => both products have availability
- Add P in the cart => it works
- Add Q in the cart

Error: 'Some products became unavailable and your cart has been
updated...'.

This happens because the availability is checked on the warehouse of the
SO, not the warehouse of the website (not set in this case).

opw-2361768

closes odoo/odoo#60895

X-original-commit: 6b05fb2b21a3b58cfef3f280941d985eec158b78
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-10-28 12:09:04 +00:00
..
2020-10-19 07:03:01 +00:00
2020-10-20 10:03:58 +00:00
2020-10-27 18:42:46 +00:00
2020-09-29 17:52:02 +00:00
2020-09-29 17:52:02 +00:00
2020-10-19 07:03:01 +00:00
2020-08-21 09:38:26 +00:00
2020-09-29 17:52:02 +00:00
2020-09-15 08:11:44 +00:00
2020-10-14 13:33:49 +00:00
2020-10-05 09:36:34 +00:00
2020-09-29 17:52:02 +00:00
2020-10-26 11:01:33 +00:00
2020-10-05 09:36:34 +00:00