mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
It could not work properly here as we need the "fallback" to apply even if there is no quantity at all in the stock. As we hook the reservation rules in StockMove._update_reserved_quantity(), and this method is called only if we have at least 1 product in qty, the fallback was not applied with zero qty. A new module will handle this concept: https://github.com/OCA/wms/pull/28
17 lines
662 B
ReStructuredText
17 lines
662 B
ReStructuredText
The configuration of the rules is done in "Inventory > Configuration > Stock Reservation Rules".
|
|
|
|
Creation of a rule:
|
|
|
|
Properties that define where the rule will be applied:
|
|
|
|
* Location: Define where the rule will look for goods (a parent of the move's source location).
|
|
* Rule Domain: The rule is used only if the Stock Move matches the domain.
|
|
|
|
Removal rules for the locations:
|
|
|
|
* Quants Domain: this domain includes/excludes quants based on a domain.
|
|
* Advanced Removal Strategy: the strategy that will be used for this location
|
|
and sub-location when the rule is used.
|
|
|
|
The sequences have to be sorted in the view list to define the reservation priorities.
|