diff options
| author | Olivier Dony <odo@openerp.com> | 2015-03-10 19:16:07 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-03-10 19:35:23 +0100 |
| commit | edcbf067d65910c58f08e1e64f9aec2decd4d5aa (patch) | |
| tree | 5acd16a0b21a52fe3acf255054a1699778f2c955 /addons/analytic_user_function | |
| parent | a5e32690b054d3c5d68bc33bf1bf7336d075dc2b (diff) | |
[FIX] workflow.workitem: deleting a subflow should never cascade to workitems
It's always dangerous because (cascade-)deleting workitems
has a great chance of killing the workflow instances they
belong to, putting the records in the workflow limbo
permanently. (They will appear stuck as they don't have
enough workitems anymore)
In addition, in some rare cases a subflow activity is
converted into a regular activity during an update, and
nullifying the `subflow_id` column is all there is to
fixing the corresponding workitems. It will simply take
them out of their subflow, and back into the main flow.
This is the case for the modification of the purchase.order
workflow in Odoo 8 (saas-5), for the picking subflow.
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
