OdooWiki OCA HUB

Stock Available Exclude Location

stock_available_exclude_location folder_open OCA/stock-logistics-availability open_in_new
Stock License: AGPL-3

This module allow defining excluded locations for product availability.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Lets you pick locations whose stock should not count as available, so product availability figures ignore those locations and their sub-locations.

This module adds a setting where you choose which warehouse locations should be left out when Odoo calculates how much of a product is available.

Where it appears: - In Inventory settings, a new field "Excluded Locations for Product Availability" lets you select one or more locations (only locations belonging to the current company can be chosen). - On each product, a read-only field "Locations to Exclude as Available" shows which locations are currently being excluded for that product.

Business rules and automatic behaviour: - The excluded locations are stored per company (res.company), so each company can have its own list. - For a product, the module looks at its on-hand stock records; if the product has stock in a company, that company's excluded locations are used, and all their child locations are added automatically. - When Odoo computes available quantities, it passes the excluded locations along, so quantities in those locations are not counted as available.

Areas touched: - Inventory settings screen. - Product form (availability-related fields). - Stock quantity calculations for product.product.

Models and fields (3)
  • res.company · new modelstock_excluded_location_ids (Stock Excluded Locations)
  • product.product · extends an existing modelexcluded_location_ids (Locations to Exclude as Available)
  • res.config.settings · extends an existing modelstock_excluded_location_ids (Excluded Locations for Product Availability)

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-availability.

terminal Installation and usage

OCA documentation · Odoo 16.0

Go to Inventory > Configuration > Settings.

  • Find the Products section.
  • In Excluded Locations for Availability, select the excluded locations.
  • The selected locations and his children will be excluded from product availability.

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.