From fe97675ae9441a948e848d7ce05d8814077dd09b Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Wed, 22 Jun 2005 12:59:29 +0000 Subject: [PATCH] give correctly the parameter list to the select method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3311 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/DeliveryBuilder.py b/product/ERP5/Document/DeliveryBuilder.py index 6b4888ff91..80658bae04 100755 --- a/product/ERP5/Document/DeliveryBuilder.py +++ b/product/ERP5/Document/DeliveryBuilder.py @@ -155,7 +155,7 @@ class DeliveryBuilder(XMLObject, Amount, Predicate): movement_list = [x.getObject() for x in self.portal_catalog(**kw)] else: select_method = getattr(self, self.simulation_select_method_id) - movement_list = select_method(kw) + movement_list = select_method(**kw) # XXX Use buildSQLQuery will be better movement_list = filter(lambda x: x.getDeliveryRelatedValueList()==[], -- 2.30.9