diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-06-21 13:45:36 +0200 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-06-21 16:21:54 +0200 |
| commit | 1740b179bfa78dafe7094f1f090f4e42a2b13a5f (patch) | |
| tree | 96e35399f2aac5097b617f66be098a2663a02172 /addons/web/static/src/js/views/basic | |
| parent | c5ed37297098c48bf6a89a2175127541ad1f5da3 (diff) | |
[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.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
