Some review of causality workflow
Julien Muchembled authored
- delaying 'updateCausalityState' instead of 'calculate'
- make sure 'updateCausalityState' depends on all related simulation movements
- do not process 'updateCausalityState' as long as there remains
  'Delivery_calculate' activities

This fixes r39050 ("fix an error that calculate may be called too early before
a new simulation movement is indexed.").

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42258 20353a03-c40f-0410-a6d1-a30d3c3de9de
30293bb7