add stock_inventory_product_exhausted: prevent for removing zero quantity stock quants. Add exhausted products to inventory adjustments

This commit is contained in:
Luis 2025-10-01 13:27:34 +02:00
parent e4050a6e31
commit 17cc64c522
15 changed files with 565 additions and 0 deletions

View file

@ -0,0 +1,21 @@
To use this module:
#. Go to **Inventory > Operations > Inventory Adjustments**
#. Create a new inventory adjustment
#. Configure the desired locations and product selection
#. **Enable** the "Include Exhausted Products" field if you want to include products without stock
#. Click on "Start Inventory"
Use cases
---------
**With the field enabled:**
* Zero quantity quants will be created for products that have no stock in the selected locations
* Allows physically counting products that are exhausted in the system
* Useful for complete inventories where you want to verify that there really is no stock of certain products
**With the field disabled:**
* Standard behavior of the original module
* Only products that already have existing quants are included