Commit e0e6ed52 authored by Sebastien Robin's avatar Sebastien Robin

We do not have order link in simulation any more, only delivery

links. So update the test accordingly. This fix testItem

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33798 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 45d29cf4
...@@ -161,7 +161,7 @@ class TestItemMixin(TestSaleInvoiceMixin): ...@@ -161,7 +161,7 @@ class TestItemMixin(TestSaleInvoiceMixin):
sequence_list=None, **kw): sequence_list=None, **kw):
""" Check items """ """ Check items """
order_line = sequence.get('order_line') order_line = sequence.get('order_line')
simulation_movement = order_line.getOrderRelatedValue() simulation_movement = order_line.getDeliveryRelatedValue()
self.failIf(simulation_movement is None) self.failIf(simulation_movement is None)
self.checkAggregate(line=simulation_movement, sequence=sequence) self.checkAggregate(line=simulation_movement, sequence=sequence)
......
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