diff --git a/product/ERP5/mixin/rule.py b/product/ERP5/mixin/rule.py index 7c45196849392cc673f7d50f251953a1d12107f1..7cc76d4230e9583a3973664b7d77baa646aab9cb 100644 --- a/product/ERP5/mixin/rule.py +++ b/product/ERP5/mixin/rule.py @@ -202,7 +202,7 @@ class RuleMixin: """ tester_list = self.objectValues( portal_type=self.getPortalDivergenceTesterTypeList()) - return [x for x in tester_list if x.getTestedProperty() == 'quantity'] + return [x for x in tester_list if 'quantity' in x.getTestedPropertyList()] def _newProfitAndLossMovement(self, prevision_movement): """