odoo/openerp/addons/base/ir/workflow
Olivier Dony edcbf067d6 [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.
2015-03-10 19:35:23 +01:00
..
__init__.py [IMP] openerp python module. 2011-02-07 13:57:23 +01:00
print_instance.py [FIX] base: print workflow now displays the transition where the workflow instance is stuck 2014-01-14 18:05:29 +01:00
workflow.py [FIX] workflow.workitem: deleting a subflow should never cascade to workitems 2015-03-10 19:35:23 +01:00
workflow_view.xml [IMP]all: imporve string state to status 2012-10-12 17:54:19 +05:30