diff options
| author | Arnold Moyaux <arm@odoo.com> | 2018-08-13 11:20:13 +0200 |
|---|---|---|
| committer | Arnold Moyaux <arm@odoo.com> | 2018-08-13 13:51:54 +0200 |
| commit | e1ff6ce3d927caf29f7f673f9b4bc404ec4bce59 (patch) | |
| tree | 79f986768471663600e8a539d547cd4372c77153 /addons/mass_mailing/models/mail_thread.py | |
| parent | 9b609842e37af52334554bbcdd2505aa2c36805e (diff) | |
[FIX] purchase: cancel a PO undo the closest picking cancellation
Usecase to reproduce:
- Set a product buy and MTO
- Create a SO with it and cancel it
- All the pickings are cancel
- Cancel the PO
- The picking that generate the PO is set to confirm
The picking should remain in cancel state
It happens because the button_cancel method still
consider the canceled moves.
This commit only modify destination moves if they still
require an action from the user.
Diffstat (limited to 'addons/mass_mailing/models/mail_thread.py')
0 files changed, 0 insertions, 0 deletions
