Hello Support Team,
We are currently retrieving inventory data using the stock.quant model via the Odoo JSON-RPC API. However, we’ve noticed that records with a quantity = 0 are not being returned.
Our goal is to generate a full inventory report that includes all product-location combinations — even if the available quantity is zero. But it seems that once the quantity and reserved_quantity both become zero, the corresponding quant record is removed or no longer accessible via the API.
Could you please confirm:
- Is it expected behavior for stock.quant records to be deleted when the quantity is zero?
- Is there any way to retain or retrieve zero-quantity quant records via API?
- Do you recommend a different model or approach for building a complete product-location report (including zero stock)?
Thanks in advance for your support!