To reproduce :
- Activate advanced stock Management
- Add a warehouse
- activate advanced stock management for a product
- add stock of this product to this warehouse
- remove stock of this product
- Delete warehouse
- Disable advanced stock management but keep the classic stock management
Now you can't modify the stock of this product anymore (in the product page).
- Go to product page
- add a stock
- Save and stay
=> The stock doesn't change !
I had to modify two fields in the DB to use again the stock on the product page :
- UPDATE `ps_product_shop` SET `advanced_stock_management` = '0' (was 1)
- UPDATE `ps_product` SET `advanced_stock_management` = '0' (was 1)