On doit trouver pourquoi certains produits attributes ont un stock négatifs.
On voit que reserved_quantity reste positif alors que le stock a été shipped côté PMS
query to find wrong stock
SELECT p.id_product, COUNT(*) as declinaisons, SUM(f.quantity) as q