mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
7 lines
236 B
ReStructuredText
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.
|