From 35e78428d15365aaf9c7d972d19b5330be3d5802 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 9 Dec 2005 10:53:34 +0000
Subject: [PATCH] the parameter dict was missing on a method call

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

diff --git a/product/ERP5/Document/Delivery.py b/product/ERP5/Document/Delivery.py
index 3a5c05272e..e0db04a07b 100755
--- a/product/ERP5/Document/Delivery.py
+++ b/product/ERP5/Document/Delivery.py
@@ -227,7 +227,7 @@ class Delivery(XMLObject):
       for my_simulation_movement in self.getDeliveryRelatedValueList(
                                                 portal_type = 'Simulation Movement'):
           # And apply
-          getattr(my_simulation_movement.getObject(), method_id)()
+          getattr(my_simulation_movement.getObject(), method_id)(**kw)
       for m in self.contentValues(filter={'portal_type': self.getPortalMovementTypeList()}):
         # Find related in simulation
         for my_simulation_movement in m.getDeliveryRelatedValueList(
-- 
2.30.9