Commit a27de5ba authored by Romain Courteaud's avatar Romain Courteaud

Fix typo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16602 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46efa3cf
...@@ -328,7 +328,7 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -328,7 +328,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
self.getDeliveryPortalType(): self.getDeliveryPortalType():
delivery = delivery_to_update delivery = delivery_to_update
break break
if delivery == None: if delivery is None:
# Create delivery # Create delivery
new_delivery_id = str(delivery_module.generateNewId()) new_delivery_id = str(delivery_module.generateNewId())
delivery = delivery_module.newContent( delivery = delivery_module.newContent(
...@@ -376,7 +376,7 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -376,7 +376,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
delivery_line = delivery_line_to_update delivery_line = delivery_line_to_update
update_existing_line = 1 update_existing_line = 1
break break
if delivery_line == None: if delivery_line is None:
# Create delivery line # Create delivery line
new_delivery_line_id = str(delivery.generateNewId()) new_delivery_line_id = str(delivery.generateNewId())
delivery_line = delivery.newContent( delivery_line = delivery.newContent(
......
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