From aed4295e68b6b125063b9af1de2aa12c98a6bc88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 24 Nov 2009 16:47:39 +0000 Subject: [PATCH] propagate activate_kw git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30850 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Delivery.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py index 0859a2c333..f4ac8250bb 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 -- 2.30.9