Commit 31c9dc60 authored by Jérome Perrin's avatar Jérome Perrin

Fix last commit, get delivery_select_method_id in the context of the

builder.


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