Commit fe97675a authored by Sebastien Robin's avatar Sebastien Robin

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
parent 918f67fb
......@@ -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()==[],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment