Stock Removal Location by Priority
This module adds a removal priority field on stock locations. This priority applies when removing a product from different stock locations and the incoming dates are equal in both locations.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a removal priority number on stock locations so Odoo picks stock from the most important locations first when incoming dates are the same. The option is switched on in Inventory settings and the field appears on the location form.
This module lets you rank your storage locations so that Odoo decides which stock to take first when several locations hold the same product with the same incoming date.
- In Inventory settings a new "Removal Priority" option can be enabled. Once enabled, a "Removal Priority" field becomes visible on the location form, next to the existing removal strategy. New locations start with a default priority of 10.
- The priority is copied onto the stock quantities stored in each location, so it can be used when Odoo searches for stock to reserve.
- When the option is active, the order in which stock is picked changes: for FIFO (oldest first) Odoo still looks at the incoming date first, then at the location priority, then at the record order; for LIFO (newest first) it looks at the incoming date in reverse, then at the location priority, then at the record order. Lower priority numbers are taken before higher ones.
- If a removal strategy other than FIFO or LIFO is used while the option is active, Odoo stops with an error saying that strategy is not implemented.
- When the option is not enabled, Odoo behaves exactly as before.
The module touches stock.location, stock.quant and the Inventory settings screen (res.config.settings).
Depends on
Models and fields (3)
- stock.quant · extends an existing modelremoval_priority
- stock.location · extends an existing modelremoval_priority
- res.config.settings · extends an existing modelgroup_removal_priority (Removal Priority)
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-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/stock-logistics-warehouse.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0You can activate the removal priority as follows:
- Go to "Inventory \> Configuration \> Settings"
- In 'Operations' section, mark the "Removal Priority" option.
- You also need to activate the following settings in the section Warehouse if they are not yet:
- Manage several locations using Storage Locations option.
- Advanced routing using "Multi-Step Routes" option.
Then, set the Removal Priority in the desired locations. Remember that a lower number means more priority:
- Go to "Inventory \> Configuration \> Warehouse Management \> Locations"
- In each Location form, in the Logistics section, put a Removal Priority.
Usage
Source · Odoo 18.0After configure your locations properly, the system will select the quant at the location with more priority in case of equal date, no matter if you use FIFO or LIFO removal strategy.
No verified information in OCA: Installation.
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.
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.