Commit 426fc852 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: do not invalidate open order

parent c7cc1ae8
...@@ -1071,7 +1071,7 @@ class TestInstanceTree_requestUpdateOpenSaleOrder(SlapOSTestCaseMixin): ...@@ -1071,7 +1071,7 @@ class TestInstanceTree_requestUpdateOpenSaleOrder(SlapOSTestCaseMixin):
default_destination_uid=person.getUid() default_destination_uid=person.getUid()
) )
self.assertEqual(1, len(open_sale_order_list)) self.assertEqual(1, len(open_sale_order_list))
self.assertEqual('invalidated', open_sale_order.getValidationState()) self.assertEqual('archived', open_sale_order.getValidationState())
# self.assertEqual(DateTime().earliestTime(), archived_line.getStartDate()) # self.assertEqual(DateTime().earliestTime(), archived_line.getStartDate())
# self.assertEqual(DateTime('2112/02/02'), line.getStopDate()) # self.assertEqual(DateTime('2112/02/02'), line.getStopDate())
......
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