diff --git a/product/ERP5/Document/TransformationSourcingRule.py b/product/ERP5/Document/TransformationSourcingRule.py index b051250b491d8b54b7168711b6a3a13076727154..67f794713e92c25d5c260b8f0ee3eb29bff9db58 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):