Commit 0c3d37b3 authored by Łukasz Nowak's avatar Łukasz Nowak

Initialise causality state on manually created SPLs.

parent 5a067b29
......@@ -1178,6 +1178,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
SetSalePackingListLineCleanupResource
SetSalePackingListLineAggregate
StartBuildingSalePackingList
ConfirmSalePackingList
Tic
"""
......@@ -1264,6 +1265,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
SetSalePackingListLineAccountingResource \
SetSalePackingListLineAggregate \
Tic \
StartBuildingSalePackingList \
ConfirmSalePackingList \
Tic \
CheckComputerPartitionAccoutingResourceSalePackingListConfirmed \
......@@ -1380,6 +1382,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
SetSalePackingListLineSetupResource
SetSalePackingListLineAggregate
StartBuildingSalePackingList
ConfirmSalePackingList
Tic
"""
......@@ -1394,6 +1397,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
SetSalePackingListLineSetupResource
SetSalePackingListLineAggregate
StartBuildingSalePackingList
ConfirmSalePackingList
Tic
SetComputerPartitionQuantity
......@@ -2953,6 +2957,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
self.markManualCreation(order)
sequence.edit(sale_packing_list_uid=order.getUid())
def stepStartBuildingSalePackingList(self, sequence, **kw):
delivery = self.portal.portal_catalog.getResultValue(
uid=sequence['sale_packing_list_uid'])
delivery.startBuilding()
def stepCreateSalePackingListLine(self, sequence, **kw):
"""
Create an sale packing list line document.
......
......@@ -95,6 +95,7 @@ class TestVifibUsageReportMixin(TestVifibSlapWebServiceMixin):
Tic \
SetSalePackingListLineCleanupResource \
SetSalePackingListLineAggregate \
StartBuildingSalePackingList \
ConfirmSalePackingList \
Tic \
Logout \
......
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