diff options
| author | Arnold Moyaux <arm@odoo.com> | 2017-11-21 14:15:21 +0100 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2017-11-27 14:50:52 +0100 |
| commit | 9e0724088ba674b22c23d03c723d789e10101e77 (patch) | |
| tree | 1f64f5e3fd679139149c1a1704a96ee4fb079d18 /addons/web/static/src/js/views/basic | |
| parent | 4e333607f1d37c7d76ac614647c064705ddf5752 (diff) | |
[FIX] purchase: cancel rfq set destination move to mts
Use case to reproduce:
- Create a SO with a product MTO and confirm the PO
-> PO -- Stock -- SO
- Cancel the SO
-> PO -- Stock canceled SO
- Set the quotation to draft and confirm it again
-> PO -- Stock
RFQ -- Stock -- SO
- If the user cancel the RFQ we will get this diagram:
-> PO -- Stock
Stock -- SO
The user can't reserve the chain correctly. Also a new RFQ will be
generated each time the user delete the existing one even if the PO
already exists.
It happens because the move keep the procure methode MTO although
the moves origin and destination links are broken.
This commit changes the move destination from purchase order
line to MTS if the RFQ is deleted. This implies that RFQ are
not automatically generated by the scheduler.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
