diff --git a/product/ERP5/Document/BusinessPath.py b/product/ERP5/Document/BusinessPath.py index 92ca551af4f59d0d5f5690ea3ea5b0d2dae175b1..044dc92602ded0fc34e0f8c5b121f95d89fcab0d 100644 --- a/product/ERP5/Document/BusinessPath.py +++ b/product/ERP5/Document/BusinessPath.py @@ -668,7 +668,7 @@ class BusinessPath(Path, Predicate): movement_looking_for_dict = {} def isBuiltAndCompleted(simulation, path): - return simulation.getCausalityValue() is not None and \ + return simulation.getDeliveryValue() is not None and \ simulation.getSimulationState() in predecessor_to_state_dict[path] ### Step 1: