From 471ff93ed980d7e5617abdece095c59cf60b2607 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 8 Mar 2006 16:28:41 +0000
Subject: [PATCH] modified RootAppliedRuleCausalityMovmentGroup

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6044 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/MovementGroup.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/product/ERP5/MovementGroup.py b/product/ERP5/MovementGroup.py
index e390b68193..52c0cfb8f7 100755
--- a/product/ERP5/MovementGroup.py
+++ b/product/ERP5/MovementGroup.py
@@ -308,6 +308,10 @@ class RootAppliedRuleCausalityMovementGroup(RootMovementGroup):
     RootMovementGroup.__init__(self, movement=movement, **kw)
     explanation_relative_url = self._getExplanationRelativeUrl(movement)
     self.explanation = explanation_relative_url
+    explanation_value = movement.getPortalObject().restrictedTraverse(explanation_relative_url)
+    self.setGroupEdit(
+      root_causality_value_list = [explanation_value]
+    )
 
   def _getExplanationRelativeUrl(self, movement):
     """ Get the order value for a movement """
-- 
2.30.9