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