OdooWiki OCA HUB

Stock Available To Promise Release Exclude Location

stock_available_to_promise_release_exclude_location folder_open OCA/stock-logistics-reservation open_in_new
Uncategorised License: AGPL-3

Exclude locations from available stock.

This module allows to make the glue between stock_available_to_promise_release and stock_available_exclude_location

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Automatically excludes locations marked as excluded from immediately usable stock when Odoo computes available-to-promise quantities for release.

This module is a small bridge between two other modules. It does not add any new screen, menu or button; it only changes how Odoo calculates the quantity available to promise when releasing stock.

When Odoo looks for stock that can be promised or released, it builds a list of locations to consider. This module adds one extra rule to that list: any location whose setting "exclude from immediately usable quantity" is turned on is left out of the calculation.

In practice, users first mark a location as excluded in the location settings (that option comes from the companion module). From then on, stock stored in that location is ignored by the available-to-promise release logic, so it is not offered to customers or used to fulfil release orders.

The change applies to the stock.location model and its available-to-promise domain method. It is installed automatically when both dependent modules are present, so no manual configuration is needed beyond flagging the locations to exclude.

Models and fields (1)
  • stock.location · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.