Commit f583ef90 authored by Jérome Perrin's avatar Jérome Perrin

Pass movement group to delivery select method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3399 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ce31d1e4
...@@ -231,7 +231,8 @@ class DeliveryBuilder(XMLObject, Amount, Predicate): ...@@ -231,7 +231,8 @@ class DeliveryBuilder(XMLObject, Amount, Predicate):
# Deliveries we are trying to update # Deliveries we are trying to update
delivery_select_method_id = self.getDeliverySelectMethodId() delivery_select_method_id = self.getDeliverySelectMethodId()
if delivery_select_method_id not in ["", None]: if delivery_select_method_id not in ["", None]:
to_update_delivery_sql_list = getattr(self, delivery_select_method_id)() to_update_delivery_sql_list = getattr(self,
delivery_select_method_id)(movement_group=movement_group)
delivery_to_update_list.extend([x.getObject() for x\ delivery_to_update_list.extend([x.getObject() for x\
in to_update_delivery_sql_list]) in to_update_delivery_sql_list])
......
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