diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-12-19 14:40:21 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2016-12-19 15:43:01 +0100 |
| commit | 387a77ee32cbe312385ba4ddd3cd80789131a070 (patch) | |
| tree | 6e8a4b67293bc086f8f5058b8ea4a04b96d6dccd /addons/web/static/lib/jquery.mjs.nestedSortable | |
| parent | 2257acbeb1ec78d8a5eaf96b7452833cee1c4211 (diff) | |
[FIX] purchase: remove useless and broken override
There was several issues with this method:
- the workflow is incorrectly called (`purchase.signal_workflow(...)` instead)
- the workflow no longer exists (`purchase.state = 'sent'` instead)
- the code is only triggered when sending an actual mail and not a notification
- the code is never executed as the change is already changed
The last point is due to the override of `send_mail` in mail.compose.message.
The state is changed before `_postprocess_sent_message` is called (if called at
all).
Similar change of state is already done for sale.order.
This commit replaces and closes #14760
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
