Files
stock-logistics-warehouse/stock_available_base_exclude_location/readme/USAGE.rst
Denis Roussel 7ac5573655 [10.0][ADD] stock_available_base_exclude_location
Adds a base module to help excluding locations for product
available quantities.
2022-06-09 15:08:27 +02:00

7 lines
236 B
ReStructuredText

In new module, inherit from "stock.exclude.location.mixin" model on
the wanted model.
Then, when querying for product availability, add to context the key
"excluded_location_ids" with your model "stock_excluded_location_ids"
property.