Please sign in to comment.
[FIX] stock: inventory on category
- Create a product category A - Create a product category A1 - Add a product in A1 - Launch an inventory adjustment on A, and select 'Exhausted Products' All products (even from other categories) are included. Since there is no product found in the category `products_to_filter` and `quant_products` are empty. Therefore, we fall back on `[('id', 'not in', )]`, which selects everything. The root cause is that we don't include child categories. There is no real point of doing so. opw-1932192 closes #31322
- Loading branch information...