diff --git a/product/ERP5/Document/FloatDivergenceTester.py b/product/ERP5/Document/FloatDivergenceTester.py index 9d1db756f37727581fd92a7aabb5f4b379960fed..09f37a92ebc473fe79f76b73520a9dfce75c0766 100644 --- a/product/ERP5/Document/FloatDivergenceTester.py +++ b/product/ERP5/Document/FloatDivergenceTester.py @@ -68,6 +68,8 @@ class FloatDivergenceTester(Predicate, DivergenceTesterMixin): """ tested_property = self.getTestedProperty() decision_value = decision_movement.getProperty(tested_property) + if self.getProperty('delivery_ratio_enabled'): + decision_value *= prevision_movement.getDeliveryRatio() if prevision_movement.isPropertyRecorded(tested_property): prevision_value = prevision_movement.getRecordedProperty(tested_property) if isinstance(prevision_value, (list, tuple)):