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,3 @@
This module extends the functionality of the `stock_inventory` module from the OCA/stock-logistics-warehouse repository to include exhausted products (with zero quantity) in inventory adjustments.
In recent versions of Odoo, when a product reaches zero available quantity, its `stock.quant` is automatically deleted. This module allows creating quants with zero quantity for exhausted products when creating a new inventory adjustment, facilitating the physical counting of these products.