From 3ae61fbb4f06b808aca13d3d25b3da344eba45ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Tue, 3 Aug 2010 08:08:21 +0000
Subject: [PATCH] forgot to propagate a parameter

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

diff --git a/product/ERP5/ExplanationCache.py b/product/ERP5/ExplanationCache.py
index 676e360bff..426446cc71 100644
--- a/product/ERP5/ExplanationCache.py
+++ b/product/ERP5/ExplanationCache.py
@@ -189,7 +189,7 @@ class ExplanationCache:
         if child.getPortalType() == "Simulation Movement" and \
                child.getCausalityValue().getTradePhase(base=1) == trade_phase:
           movement_list.append(child)
-        getChildSimulationMovementValueList(child, movement_list)
+        getChildSimulationMovementValueList(child, movement_list, trade_phase)
 
     if self.simulation_movement_cache.get(kw_tuple, None) is None:
       if self.explanation.getPortalType() == "Applied Rule":
-- 
2.30.9