From 5552156a8a91ae46e4a33bd5d4409070426288a0 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 29 Oct 2007 08:48:17 +0000
Subject: [PATCH] Activate activate_kw parameter.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17231 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/TransformationSourcingRule.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/TransformationSourcingRule.py b/product/ERP5/Document/TransformationSourcingRule.py
index b051250b49..67f794713e 100644
--- a/product/ERP5/Document/TransformationSourcingRule.py
+++ b/product/ERP5/Document/TransformationSourcingRule.py
@@ -99,7 +99,7 @@ class TransformationSourcingRuleMixin(ExtensionClass.Base):
         # should generate a compensation movement
         continue
       # Update movement properties
-      movement.edit(**(movement_dict[movement_id]))
+      movement.edit(activate_kw=activate_kw, **(movement_dict[movement_id]))
 
   security.declareProtected(Permissions.View, 'getTransformation')
   def getTransformation(self, movement):
-- 
2.30.9