==========================================
Stock Inventory Exhausted Products
==========================================
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.
Features
========
* **Configurable field**: Includes a boolean field `include_exhausted_products` to enable/disable the functionality
* **Default behavior**: Maintains the original behavior of the base module when the option is disabled
* **Support for all selection types**: Works with manual selection, by category, specific product, or all products
* **Storable products only**: Creates quants only for products of type `product`, not for services
* **Prevents duplicates**: Does not create duplicate quants if they already exist for the product and location
* **User interface**: Field visible in the inventory adjustment form
Configuration
=============
The module requires no additional configuration. The `include_exhausted_products` field defaults to `False` to maintain compatibility with the original behavior.
Usage
=====
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