-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] stock: resupply propagate pull rules
Use case to reproduce: - Create a production warehouse that manufacture and a supply warehouse that deliver your product (manufacture and supply dist. WH checked on prod WH.) - Create a product with a BoM and resupply, MTO and manufacture checked on its routes. - Modify the resupply pull rule that go from prod/WH to transit location from MTS to propagate - Create a Quotation and confirm it. The user error 'no procurement rule found' is raise. It happens because the move from customer to Prod/WH are correctly created but the rule manufacture is not found. It couldn't be find due to a wrong warehouse on the stock.move. The pull rule use the supply warehouse instead the warehouse that they serve when they generate the stock move value. This commit remove the propagate_warehouse_id on the second rule between the stock location and the transit location.
- Loading branch information
Showing
2 changed files
with
210 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters