diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py index 0859a2c333421a2488e33f5bac77ba01a18f658b..f4ac8250bb623731ba026ea390ed3e9f9b51140b 100644 --- a/product/ERP5/Document/Delivery.py +++ b/product/ERP5/Document/Delivery.py @@ -718,7 +718,8 @@ class Delivery(XMLObject, ImmobilisationDelivery): portal_rules = getToolByName(self, 'portal_rules') portal_simulation = getToolByName(self, 'portal_simulation') my_applied_rule = portal_rules[rule_id].\ - constructNewAppliedRule(portal_simulation) + constructNewAppliedRule(portal_simulation, + activate_kw=activate_kw) # Set causality my_applied_rule.setCausalityValue(self) # We must make sure this rule is indexed