Skip to content

Prevent some invoicing and delivering transition until causality state is solved

Cédric Le Ninivin requested to merge cedric.leninivin/erp5:master into master

For invoicing and delivering, transition requiring a "solved" causality state were testing for "building" and "diverged" states.

This lead to errors as causality state can be "calculating" and heading toward divergence, but if the user is fast enough, the transition can be used before the activity marking the element as diverged.

Blocking any transition until causality state is solved force the user to refresh his page before the transition but avoid later errors.

Merge request reports