Commit 09975c7c authored by Łukasz Nowak's avatar Łukasz Nowak

Merge remote-tracking branch 'origin/master' into payzen-fixup

Conflicts:
	master/bt5/vifib_base/bt/revision
parents 0ce13c5c 3249160b
......@@ -6,12 +6,33 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>business_template_skin_layer_priority</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>float</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>business_template_skin_layer_priority</string> </key>
<value> <float>60.0</float> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>vifib_agent</string> </value>
......
2
\ No newline at end of file
3
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Alarm" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>active_sense_method_id</string> </key>
<value> <string>Alarm_expandConfirmedSaleOrder</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>vifib_expand_confirmed_sale_order</string> </value>
</item>
<item>
<key> <string>periodicity_hour</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_minute</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_minute_frequency</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>periodicity_month</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_month_day</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_start_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>575131320.0</float>
<string>GMT</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>periodicity_week</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Alarm</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Expands Confirmed Sale Orders</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Alarm" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>active_sense_method_id</string> </key>
<value> <string>Alarm_expandDeliveryLine</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>vifib_expand_delivery_line</string> </value>
</item>
<item>
<key> <string>periodicity_hour</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_minute</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_minute_frequency</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>periodicity_month</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_month_day</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_start_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>306081720.0</float>
<string>GMT</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>periodicity_week</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Alarm</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Expands delivery lines, which need to be expanded</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Alarm" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>active_sense_method_id</string> </key>
<value> <string>Alarm_updateCausalityState</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>vifib_update_delivery_causality_state</string> </value>
</item>
<item>
<key> <string>periodicity_hour</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_minute</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_minute_frequency</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>periodicity_month</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_month_day</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>periodicity_start_date</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>323620920.0</float>
<string>GMT</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>periodicity_week</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Alarm</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Updates delivery\'s causality state</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
portal = context.getPortalObject()\n
activate_kw = {\n
\'tag\': tag\n
}\n
path_list = [q.getPath() for q in portal.Base_getNotCategoryRelatedList(\n
portal_type_list=[\'Sale Order Line\'],\n
simulation_state_list=[\'confirmed\'],\n
base_category_uid=portal.portal_categories.delivery.getUid())]\n
\n
if len(path_list) > 0:\n
portal.portal_catalog.searchAndActivate(\n
path=path_list,\n
activate_kw=activate_kw,\n
packet_size=1, # Separate calls to many transactions\n
method_id=\'DeliveryLine_updateAppliedRule\',\n
method_kw={\'activate_kw\': activate_kw, \'kw\': {\'activate_kw\': activate_kw}},\n
)\n
\n
# register activity on alarm object waiting for own tag in order to have only one alarm\n
# running in same time\n
context.activate(after_tag=tag).getId()\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>tag, fixit, params</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Alarm_expandConfirmedSaleOrder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
portal = context.getPortalObject()\n
\n
activate_kw = {\n
\'tag\': tag\n
}\n
simulation_state_list = portal.getPortalCurrentInventoryStateList() + \\\n
portal.getPortalTransitInventoryStateList() + portal.getPortalPlannedOrderStateList() + \\\n
portal.getPortalReservedInventoryStateList() + portal.getPortalFutureInventoryStateList()\n
kw = dict(\n
portal_type_list=[\'Sale Packing List Line\', \'Invoice Line\', \'Accounting Transaction Line\', \'Sale Invoice Transaction Line\'],\n
simulation_state_list=simulation_state_list,\n
base_category_uid=portal.portal_categories.delivery.getUid()\n
)\n
path_list = set()\n
\n
for q in portal.Base_getNotCategoryRelatedList(**kw):\n
path_list.add(q.getPath())\n
\n
for q in portal.Base_getNotSynchronisedSimulationStateCategoryRelatedList(**kw):\n
path_list.add(q.getPath())\n
\n
# and all invoice lines and and transcation lines in confirmed state\n
# XXX: We do simple version, and in Vifib confirmed ones can be often expanded, as it is short living state\n
\n
for q in portal.portal_catalog(portal_type=\'Invoice Line\', simulation_state=\'confirmed\'):\n
if q.getSimulationState() == \'confirmed\':\n
path_list.add(q.getPath())\n
path_list = list(path_list)\n
\n
if len(path_list) > 0:\n
portal.portal_catalog.searchAndActivate(\n
path=path_list,\n
packet_size=1, # Separate calls to many transactions\n
activate_kw=activate_kw,\n
method_id=\'DeliveryLine_updateAppliedRule\',\n
method_kw={\'activate_kw\': activate_kw, \'kw\': {\'activate_kw\': activate_kw}},\n
)\n
\n
# register activity on alarm object waiting for own tag in order to have only one alarm\n
# running in same time\n
context.activate(after_tag=tag).getId()\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>tag, fixit, params</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Alarm_expandDeliveryLine</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>portal = context.getPortalObject()\n
activate_kw = {\n
\'tag\': tag\n
}\n
portal.portal_catalog.searchAndActivate(\n
portal_type=portal.getPortalDeliveryTypeList(),\n
causality_state=(\'building\', \'calculating\'),\n
activate_kw=activate_kw,\n
packet_size=1, # Separate calls to many transactions\n
method_id=\'Delivery_updateCausalityState\'\n
)\n
context.activate(after_tag=tag).getId()\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>tag, fixit, params</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Alarm_updateCausalityState</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_col</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>name</string> </key>
<value> <string>uid</string> </value>
</item>
<item>
<key> <string>null</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>l</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>7</int> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>name</string> </key>
<value> <string>path</string> </value>
</item>
<item>
<key> <string>null</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>t</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>41</int> </value>
</item>
</dictionary>
</list>
</value>
</item>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>portal_type_list\r\n
simulation_state_list\r\n
base_category_uid\r\n
</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value> <string>ZSQLCatalog.zsqlbrain</string> </value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value> <string>ZSQLBrain</string> </value>
</item>
<item>
<key> <string>connection_hook</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_getNotCategoryRelatedList</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
select\n
catalog.uid, catalog.path from catalog\n
where\n
catalog.uid not in (\n
select category.category_uid from category where category.base_category_uid=<dtml-var base_category_uid>)\n
and (<dtml-in simulation_state_list>\n
catalog.simulation_state=<dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n
</dtml-in>)\n
and (<dtml-in portal_type_list>\n
catalog.portal_type=<dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n
</dtml-in>)\n
]]></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_col</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>name</string> </key>
<value> <string>uid</string> </value>
</item>
<item>
<key> <string>null</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>l</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>7</int> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>name</string> </key>
<value> <string>path</string> </value>
</item>
<item>
<key> <string>null</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>t</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>41</int> </value>
</item>
</dictionary>
</list>
</value>
</item>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>portal_type_list\r\n
simulation_state_list\r\n
base_category_uid\r\n
</string> </value>
</item>
<item>
<key> <string>cache_time_</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value> <string>ZSQLCatalog.zsqlbrain</string> </value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value> <string>ZSQLBrain</string> </value>
</item>
<item>
<key> <string>connection_hook</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Base_getNotSynchronisedSimulationStateCategoryRelatedList</string> </value>
</item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>1000</int> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
select\n
catalog.uid, catalog.path from catalog, catalog as simulation_movement, category\n
where\n
category.base_category_uid=<dtml-var base_category_uid> AND\n
category.category_uid = catalog.uid AND\n
simulation_movement.uid = category.uid AND\n
simulation_movement.simulation_state <> catalog.simulation_state and\n
simulation_movement.portal_type=\'Simulation Movement\'\n
and (<dtml-in simulation_state_list>\n
catalog.simulation_state=<dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n
</dtml-in>)\n
and (<dtml-in portal_type_list>\n
catalog.portal_type=<dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n
</dtml-in>)\n
]]></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>delivery = context.getParentValue()\n
if context.getPortalObject().portal_activities.countMessage(path=delivery.getPath()) == 0:\n
delivery.serialize()\n
delivery.Delivery_updateAppliedRule(activate_kw=activate_kw, **kw)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>activate_kw, **kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>DeliveryLine_updateAppliedRule</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>delivery = context\n
if delivery.getCausalityState() not in (\'building\', \'calculating\'):\n
return\n
\n
if context.getPortalObject().portal_activities.countMessage(path=delivery.getPath()) == 0:\n
delivery.updateCausalityState()\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Delivery_updateCausalityState</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -73,11 +73,6 @@ tag = \'%s_plan\' % invoice.getPath()\n
if invoice.getSimulationState() == \'draft\':\n
invoice.plan(comment=translateString(\'Initialised by Delivery Builder.\'), activate_kw={\'tag\': tag})\n
\n
# Update causality workflow\n
if invoice.getPortalObject().portal_workflow.isTransitionPossible(invoice, \'start_building\'):\n
invoice.startBuilding()\n
invoice.updateCausalityState()\n
\n
# update specialise from movements\n
specialise_list = invoice.getSpecialiseList()\n
specialise_list.sort()\n
......@@ -92,6 +87,9 @@ for movement in invoice.getMovementList(portal_type=\'Invoice Line\'):\n
if modified:\n
specialise_list.sort()\n
invoice.setSpecialiseList(specialise_list)\n
\n
if invoice.getPortalObject().portal_workflow.isTransitionPossible(invoice, \'start_building\'):\n
invoice.startBuilding()\n
</string> </value>
</item>
<item>
......
......@@ -61,10 +61,6 @@ if payment_transaction.getSimulationState() == "draft":\n
# First set the payment transaction in the building state on the causality workflow\n
payment_transaction.startBuilding()\n
\n
# Then an activity should put the causality state in diverged or solved\n
payment_transaction.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\',\'recursiveImmediateReindexObject\'))).updateCausalityState()\n
\n
# update casuality from movements\n
causality_list = payment_transaction.getCausalityList()\n
causality_list.sort()\n
......
......@@ -71,10 +71,6 @@ packing_list.activate(after_path_and_method_id=(related_simulation_movement_path
\n
# First set the packing_list in the building state\n
packing_list.startBuilding()\n
# Then an activity should put the causality state in diverged or solved\n
packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\',\'recursiveImmediateReindexObject\')),\n
after_tag=confirm_tag).updateCausalityState()\n
</string> </value>
</item>
<item>
......
423
\ No newline at end of file
429
\ No newline at end of file
portal_alarms/vifib_expand_confirmed_sale_order
portal_alarms/vifib_expand_delivery_line
portal_alarms/vifib_update_delivery_causality_state
\ No newline at end of file
......@@ -5,6 +5,11 @@
<property id='base_category_script'>ERP5Type_getSecurityCategoryFromContent</property>
<multi_property id='base_category'>source_administration</multi_property>
</role>
<role id='Assignor'>
<property id='title'>Group company</property>
<multi_property id='category'>group/company</multi_property>
<multi_property id='base_category'>group</multi_property>
</role>
<role id='Auditor'>
<property id='title'>Sale Trade Condition allocation</property>
<property id='condition'>python: here.getAllocationScope('').startswith('open')</property>
......
......@@ -101,7 +101,7 @@ class TestVifibUserAdmin(testVifibMixin):
# Deliver IPL
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, 'confirm_action')
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, 'stop_action')
self.assertEquals('building', internal_packing_list.getCausalityState())
self.assertEquals('draft', internal_packing_list.getCausalityState())
transaction.commit()
self.stepTic()
transaction.commit()
......@@ -109,7 +109,7 @@ class TestVifibUserAdmin(testVifibMixin):
self.logout()
# Computer registration has to be validated by a Vifib System Administrator
self.login(user_name='test_vifib_admin')
self.assertEquals('solved', internal_packing_list.getCausalityState())
self.assertEquals('draft', internal_packing_list.getCausalityState())
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, 'deliver_action')
self.logout()
......@@ -169,7 +169,7 @@ class TestVifibUserAdmin(testVifibMixin):
# Deliver IPL
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, 'confirm_action')
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, 'stop_action')
self.assertEquals('building', internal_packing_list.getCausalityState())
self.assertEquals('draft', internal_packing_list.getCausalityState())
transaction.commit()
self.stepTic()
transaction.commit()
......@@ -177,7 +177,7 @@ class TestVifibUserAdmin(testVifibMixin):
self.logout()
# Computer registration has to be validated by a Vifib System Administrator
self.login(user_name='test_vifib_admin')
self.assertEquals('solved', internal_packing_list.getCausalityState())
self.assertEquals('draft', internal_packing_list.getCausalityState())
internal_packing_list.portal_workflow.doActionFor(internal_packing_list, 'deliver_action')
self.logout()
......
413
\ No newline at end of file
415
\ No newline at end of file
......@@ -64,7 +64,7 @@
</tuple>
<state>
<tuple>
<float>1293840000.0</float>
<float>548812800.0</float>
<string>GMT</string>
</tuple>
</state>
......
......@@ -61,6 +61,7 @@ kw.update(\n
\n
context.getPortalObject().portal_catalog.searchAndActivate(\n
method_id=\'SimulationMovement_buildVifib\',\n
packet_size=1, # Separate calls to many transactions\n
method_kw={\'tag\': tag},\n
activate_kw={\'tag\': tag},\n
**kw\n
......
......@@ -57,6 +57,7 @@ portal = context.getPortalObject()\n
portal.portal_catalog.searchAndActivate(\n
portal_type=\'Sale Invoice Transaction\',\n
simulation_state=\'confirmed\',\n
causality_state=\'solved\',\n
method_id=\'SaleInvoiceTransaction_stopConfirmed\',\n
activate_kw={\'tag\': tag}\n
)\n
......
......@@ -51,7 +51,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>isTransitionPossible = context.getPortalObject().portal_workflow.isTransitionPossible\n
if context.getSimulationState() == \'confirmed\' and len(context.checkConsistency()) == 0:\n
if context.getSimulationState() == \'confirmed\' and len(context.checkConsistency()) == 0 and context.getCausalityState() == \'solved\':\n
if isTransitionPossible(context, \'start\'):\n
context.start()\n
if isTransitionPossible(context, \'stop\'):\n
......
......@@ -50,13 +50,23 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>if context.getDelivery() is not None:\n
<value> <string>"""\n
Take care!\n
\n
This method does not lock in same transaction, as it locks on two different documents (and only on those two)\n
"""\n
if context.getDelivery() is not None:\n
# movement build but not indexed, so do nothing\n
return\n
\n
root_applied_rule = context.getRootAppliedRule()\n
\n
context.getCausalityValue(portal_type=\'Business Link\').build(path=\'%s/%%\' % root_applied_rule.getPath(), activate_kw={\'tag\': tag})\n
business_link = context.getCausalityValue(portal_type=\'Business Link\')\n
explanation = context.getImmediateExplanationValue()\n
lock_tag = \'build_in_progress_%s_%s\' % (explanation.getUid(), business_link.getUid())\n
if context.getPortalObject().portal_activities.countMessageWithTag(lock_tag) == 0:\n
business_link.build(explanation=explanation, activate_kw={\'tag\': tag})\n
explanation.activate(activity=\'SQLQueue\', after_tag=tag, tag=lock_tag).getId()\n
</string> </value>
</item>
<item>
......
......@@ -92,7 +92,6 @@ if invoice_line is None:\n
\n
# force tracking causality state\n
invoice.startBuilding()\n
invoice.updateCausalityState()\n
invoice.plan(**kw)\n
invoice.confirm(**kw)\n
</string> </value>
......
691
\ No newline at end of file
695
\ No newline at end of file
......@@ -228,7 +228,7 @@
<div class="alignr" style="background-color: white; float: right; width: 250px;">\n
<table cellpadding=0 cellspacing=0 width=100% align=center>\n
<tr><td align=center><br></td></tr>\n
<tr><td align=center><h2>Get a Virtual Machine from Vifib</h2></td></tr>\n
<tr><td align=center><h2>Get a Virtual Machine from Vifib for 1€/month</h2></td></tr>\n
<tr><td align=center><br></td></tr>\n
<tr><td align=center><img src="vifib.kvm?format=png&display=xsmall"></td></tr>\n
<tr><td align=center><br></td></tr>\n
......
......@@ -227,7 +227,7 @@
<div class="alignr" style="background-color: white; float: right; width: 250px;">\n
<table cellpadding=0 cellspacing=0 width=100% align=center>\n
<tr><td align=center><br></td></tr>\n
<tr><td align=center><h2>Get a Virtual Machine from Vifib</h2></td></tr>\n
<tr><td align=center><h2>Get a Virtual Machine from Vifib for 1€/month</h2></td></tr>\n
<tr><td align=center><br></td></tr>\n
<tr><td align=center><img src="vifib.kvm?format=png&display=xsmall"></td></tr>\n
<tr><td align=center><br></td></tr>\n
......
......@@ -33,6 +33,7 @@ from AccessControl.SecurityManagement import newSecurityManager, \
from Products.ERP5Type.tests.utils import DummyMailHost
import os
from DateTime import DateTime
from Products.ERP5Type.Utils import convertToUpperCase
class testVifibMixin(ERP5TypeTestCase):
"""
......@@ -157,6 +158,22 @@ class testVifibMixin(ERP5TypeTestCase):
'01')
open(os.path.join(os.environ['TEST_CA_PATH'], 'index.txt'), 'w').write('')
def createAlarmStep(self):
def makeCallAlarm(alarm):
def callAlarm(*args, **kwargs):
sm = getSecurityManager()
self.login()
try:
alarm.activeSense()
transaction.commit()
finally:
setSecurityManager(sm)
return callAlarm
for alarm in self.portal.portal_alarms.contentValues():
if alarm.isEnabled():
setattr(self, 'stepCall' + convertToUpperCase(alarm.getId()) \
+ 'Alarm', makeCallAlarm(alarm))
def afterSetUp(self, quiet=1, run=run_all_test):
"""
Create ERP5 user.
......@@ -176,6 +193,7 @@ class testVifibMixin(ERP5TypeTestCase):
self.portal.portal_caches._p_changed = 1
transaction.commit()
self.portal.portal_caches.updateCache()
self.createAlarmStep()
if getattr(self.portal, 'set_up_once_called', 0):
return
else:
......@@ -343,14 +361,6 @@ class testVifibMixin(ERP5TypeTestCase):
def stepLogout(self, **kw):
self.logout()
def stepTriggerBuild(self, **kw):
sm = getSecurityManager()
self.login()
try:
self.portal.portal_alarms.vifib_trigger_build.activeSense()
finally:
setSecurityManager(sm)
def checkDivergency(self):
# there shall be no divergency
current_skin = self.app.REQUEST.get('portal_skin', 'View')
......@@ -359,7 +369,14 @@ class testVifibMixin(ERP5TypeTestCase):
# clear cache
self.clearCache()
self.changeSkin('RSS')
self.assertFalse('to Solve' in self.portal.ERP5Site_viewWorklist())
diverged_document_list = self.portal.portal_catalog(
portal_type=self.portal.getPortalDeliveryTypeList(),
causality_state='!= solved'
)
self.assertFalse('to Solve' in self.portal.ERP5Site_viewWorklist(),
'There are unsolved deliveries: %s' % ','.join([
' '.join((q.getTitle(), q.getPath(), q.getCausalityState())) \
for q in diverged_document_list]))
finally:
self.changeSkin(current_skin)
......
......@@ -608,7 +608,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
transaction_list = self.portal.portal_catalog(
portal_type="Sale Invoice Transaction",
destination_section_relative_url=person.getRelativeUrl(),
sort_on=(('uid', 'DESC')),
sort_on=(('creation_date', 'DESC'),),
)
self.assertEquals(2, len(transaction_list))
......@@ -786,7 +786,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
transaction_list = self.portal.portal_catalog(
portal_type="Sale Invoice Transaction",
destination_section_relative_url=person.getRelativeUrl(),
sort_on=(('uid', 'DESC')),
sort_on=(('creation_date', 'DESC'),),
)
self.assertEquals(2, len(transaction_list))
......@@ -973,8 +973,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
self.register_new_user_sequence_string + '\
LoginWebUser \
CheckRegistrationAccounting \
Logout \
LoginDefaultUser \
PayRegistrationPayment \
Tic \
Logout \
......@@ -987,14 +985,20 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
SoftwareInstanceAvailable \
Tic \
SlapLogout \
LoginERP5TypeTestCase \
TriggerBuild \
Tic \
TriggerStopConfirmedInvoiceAlarm \
Tic \
TriggerBuild \
Tic \
Logout \
\
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm\
CleanTic \
CallDeliverSubscriptionSalePackingListAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
\
LoginWebUser \
CheckSetupOngoingInvoice \
RequestSoftwareInstanceStart \
......@@ -1012,14 +1016,14 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
SoftwareInstanceStopped \
Tic \
Logout \
LoginERP5TypeTestCase \
TriggerBuild \
Tic \
TriggerStopConfirmedInvoiceAlarm \
Tic \
TriggerBuild \
Tic \
Logout \
\
CallVifibTriggerBuildAlarm \
CleanTic \
CallStopConfirmedSaleInvoiceTransactionAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
\
LoginWebUser \
CheckHostingOngoingInvoice \
\
......@@ -1029,7 +1033,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer \
SoftwareInstanceDestroyed \
Tic \
Tic \
SlapLogout \
\
LoginDefaultUser \
......@@ -1038,6 +1041,11 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CheckOpenOrderLineRemoved \
Logout \
\
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
\
LoginWebUser \
CheckDestroyOngoingInvoice \
SlapLogout \
......@@ -1045,9 +1053,20 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
LoginERP5TypeTestCase \
ConfirmOngoingInvoice \
Tic \
Tic \
\
SlapLogout \
Tic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
CallStopConfirmedSaleInvoiceTransactionAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm\
CleanTic \
\
LoginWebUser \
CheckWaitingInvoice \
Tic \
......@@ -1071,7 +1090,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
transaction_list = self.portal.portal_catalog(
portal_type="Sale Invoice Transaction",
destination_section_relative_url=person.getRelativeUrl(),
sort_on=(('uid', 'DESC')),
sort_on=(('creation_date', 'DESC'),),
)
self.assertEquals(2, len(transaction_list))
......@@ -1251,8 +1270,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
self.register_new_user_sequence_string + '\
LoginWebUser \
CheckRegistrationAccounting \
Logout \
LoginDefaultUser \
PayRegistrationPayment \
Tic \
Logout \
......@@ -1265,6 +1282,19 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
\
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm\
CleanTic \
CallDeliverSubscriptionSalePackingListAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
\
LoginWebUser \
RequestSoftwareInstanceStart \
Tic \
......@@ -1359,9 +1389,23 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
LoginERP5TypeTestCase \
ConfirmOngoingInvoice \
Tic \
Tic \
\
SlapLogout \
Tic \
\
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
CallStopConfirmedSaleInvoiceTransactionAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
\
LoginWebUser \
PayRegistrationPayment \
Tic \
......
......@@ -567,12 +567,15 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
self.prepare_installed_computer_partition_sequence_string + \
"""
LoginDefaultUser
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
CheckSubscriptionSalePackingListCoverage
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
CallVifibUpdateDeliveryCausalityStateAlarm
CleanTic
# Nothing shall change
CheckHostingSubscriptionInitialDocumentCoverage
......@@ -582,34 +585,34 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
SelectNextSubscriptionDelivery
Tic
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
CheckHostingSubscriptionStoppedDocumentCoverage
# proff that alarm will ignore this month invoices
TriggerConfirmPlannedInvoiceAlarm
CallConfirmPlannedSaleInvoiceTransactionAlarm
Tic
TriggerStopConfirmedInvoiceAlarm
CallStopConfirmedSaleInvoiceTransactionAlarm
Tic
CheckHostingSubscriptionStoppedDocumentCoverage
# Confirm current invoice and stop next delivery. After triggering build
# new planned invoice shall be available.
SelectPlannedInvoice
ConfirmInvoice
Tic
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
# # Confirm current invoice and stop next delivery. After triggering build
# # new planned invoice shall be available.
#
# SelectPlannedInvoice
# ConfirmInvoice
# Tic
#
# SelectNextSubscriptionDelivery
# Tic
#
# TriggerBuild
# CallVifibTriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionConfirmedInvoiceDocumentCoverage
......@@ -620,7 +623,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# StopInvoice
# Tic
#
# TriggerBuild
# CallVifibTriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionStoppedInvoiceDocumentCoverage
......@@ -629,13 +632,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# SelectPlannedInvoice
# InvoiceSetStartDatePreviousMonth
# Tic
# TriggerConfirmPlannedInvoiceAlarm
# CallConfirmPlannedSaleInvoiceTransactionAlarm
# Tic
# TriggerStopConfirmedInvoiceAlarm
# CallStopConfirmedSaleInvoiceTransactionAlarm
# Tic
#
# # Payment should cover both invoices
# TriggerBuild
# CallVifibTriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionTwoStoppedInvoiceDocumentCoverage
......
......@@ -182,9 +182,17 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
sequence_string = \
self.prepare_installed_computer_partition_sequence_string + """
LoginERP5TypeTestCase
Tic # in order to update simulation
CallVifibTriggerBuildAlarm
CleanTic
CallVifibUpdateDeliveryCausalityStateAlarm
CleanTic
CallDeliverSubscriptionSalePackingListAlarm
CleanTic
CallVifibExpandDeliveryLineAlarm
CleanTic
CheckSimulationMovement
Tic
SlapLogout
LoginERP5TypeTestCase
......
......@@ -111,6 +111,7 @@ class TestVifibSkinSelection(testVifibMixin):
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_cash
vifib_core
......@@ -208,6 +209,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -307,6 +309,7 @@ zpt_generic
custom
vifib_upgrader
vifib_hosting
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -404,6 +407,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -495,6 +499,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -586,6 +591,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -681,6 +687,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -775,6 +782,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -866,6 +874,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......@@ -956,6 +965,7 @@ zpt_generic
"""
custom
vifib_upgrader
vifib_agent
vifib_base
vifib_core
vifib_crm
......
......@@ -105,7 +105,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -122,7 +122,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
......@@ -135,7 +135,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -204,7 +204,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -221,7 +221,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -238,7 +238,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
......@@ -251,7 +251,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -307,7 +307,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -324,7 +324,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -379,7 +379,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
......@@ -429,7 +429,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
......@@ -481,7 +481,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -499,7 +499,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
......@@ -530,7 +530,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -597,7 +597,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -616,7 +616,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -652,7 +652,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
......@@ -683,7 +683,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -727,7 +727,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -804,7 +804,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -821,7 +821,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......
......@@ -25,7 +25,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
root_software_instance.requestSoftwareInstance(partition_reference=S1,
**common_kw)
self.stepTic()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
S1_instance = self.portal.portal_catalog.getResultValue(
......@@ -33,13 +33,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
S1_instance.requestSoftwareInstance(partition_reference=S2, **common_kw)
self.stepTic()
S1_instance.requestSoftwareInstance(partition_reference=S3, **common_kw)
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
root_software_instance.requestSoftwareInstance(partition_reference=S4,
**common_kw)
self.stepTic()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
S2_instance = self.portal.portal_catalog.getResultValue(
......@@ -390,7 +390,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
</instance>""" % sequence['computer_reference_c1'],
**common_kw)
self.stepTic()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
self.logout()
......@@ -408,7 +408,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
</instance>""" % sequence['computer_reference_c0'],
**common_kw)
self.stepTic()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
self.logout()
......@@ -430,7 +430,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
self.logout()
self.stepLoginDefaultUser()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
S3_instance = self.portal.portal_catalog.getResultValue(
portal_type='Software Instance', title=S3)
......@@ -531,7 +531,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -661,7 +661,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
partition_reference=S1,
**common_kw)
self.stepTic()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
self.logout()
......@@ -782,7 +782,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
SlapLoginCurrentSoftwareInstance
Bang
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
SlapLogout
Tic
LoginTestVifibCustomer
......@@ -874,7 +874,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
RenameCurrentSoftwareInstanceDead
Tic
Bang
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLogout
......@@ -898,7 +898,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
......@@ -910,7 +910,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
......@@ -996,7 +996,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
CheckRaisesNotFoundComputerPartitionParameterDict
Tic
RequestComputerPartition
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
......@@ -1006,7 +1006,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
RenameCurrentSoftwareInstanceDead
Tic
Bang
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLogout
......@@ -1020,7 +1020,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
......@@ -1031,7 +1031,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
......@@ -1043,7 +1043,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
......
......@@ -276,7 +276,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -377,7 +377,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
......@@ -649,7 +649,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -768,7 +768,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -786,7 +786,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -816,7 +816,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -933,7 +933,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -950,7 +950,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -980,7 +980,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -1105,7 +1105,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -1122,7 +1122,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -1236,7 +1236,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -1304,7 +1304,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -1347,7 +1347,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -1392,7 +1392,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -1463,7 +1463,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -1509,7 +1509,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -1604,16 +1604,16 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
SubmitCredentialRequest
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Logout
LoginERP5TypeTestCase
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
TriggerStopConfirmedInvoiceAlarm
CallStopConfirmedSaleInvoiceTransactionAlarm
Tic
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
PayRegistrationPayment
Tic
......@@ -1648,7 +1648,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......
......@@ -232,6 +232,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
"""
sequence_list = SequenceList()
sequence_string = self.prepare_installed_computer_partition_sequence_string + '\
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
\
LoginDefaultUser \
DeliverSalePackingList \
Tic \
......@@ -329,7 +332,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLogout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckComputerPartitionInstanceSetupSalePackingListConfirmed \
Logout \
......@@ -358,7 +361,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLogout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
SetDeliveryLineAmountEqualOne \
CheckComputerPartitionInstanceSetupSalePackingListConfirmed \
......
......@@ -55,7 +55,7 @@ class TestVifibSlapComputerPartitionConnection(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckGetSetConnectionDict
......
......@@ -107,6 +107,10 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
LoginDefaultUser \
StartSalePackingList \
StopSalePackingList \
\
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
\
DeliverSalePackingList \
Tic \
CheckComputerPartitionInstanceSetupSalePackingListDelivered \
......
......@@ -8,11 +8,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
lock_user_sequence_string = '\
LoginERP5TypeTestCase \
TriggerBuild \
CallVifibTriggerBuildAlarm \
Tic \
TriggerStopConfirmedInvoiceAlarm \
CallStopConfirmedSaleInvoiceTransactionAlarm \
Tic \
TriggerBuild \
CallVifibTriggerBuildAlarm \
Tic \
Logout'
......@@ -65,7 +65,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
\
LoginDefaultUser \
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
AssertNoComputerPartition \
Logout \
......@@ -94,7 +94,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
\
LoginDefaultUser \
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
AssertNoComputerPartition \
Logout \
......
......@@ -46,7 +46,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckSoftwareInstanceAndRelatedComputerPartition \
CheckRequestedSoftwareInstanceAndRelatedComputerPartition \
......@@ -89,7 +89,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckSoftwareInstanceAndRelatedComputerPartition \
CheckRequestedSoftwareInstanceAndRelatedComputerPartition \
......@@ -160,7 +160,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckSoftwareInstanceAndRelatedComputerPartition \
CheckRequestedSoftwareInstanceAndRelatedComputerPartition \
......@@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckSoftwareInstanceAndRelatedComputerPartition \
CheckRequestedSoftwareInstanceAndRelatedComputerPartition \
......@@ -253,7 +253,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckRequestedComputerPartitionCleanParameterList \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
LoginDefaultUser \
SetCurrentSoftwareInstanceRequested \
......@@ -471,7 +471,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckSoftwareInstanceAndRelatedComputerPartition \
CheckRequestedSoftwareInstanceAndRelatedComputerPartition \
......@@ -506,7 +506,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckSoftwareInstanceAndRelatedComputerPartition \
CheckRequestedSoftwareInstanceAndRelatedComputerPartition \
......@@ -580,7 +580,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
......@@ -613,7 +613,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
......@@ -676,7 +676,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestSlaveInstanceFromComputerPartition
......@@ -708,7 +708,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestSlaveInstanceFromComputerPartition
......@@ -804,7 +804,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -826,7 +826,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
......@@ -997,7 +997,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
......@@ -1031,7 +1031,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentSoftwareInstance
......@@ -1085,7 +1085,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
......@@ -1096,7 +1096,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
......@@ -1132,7 +1132,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
SelectSlaveInstanceFromSaleOrderOrdered
SoftwareInstanceSaleOrderLineNoPartitionFound
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetDeliveryLineAmountEqualZero
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
......@@ -1157,7 +1157,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
"""
......@@ -1263,7 +1263,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
SetDeliveryLineAmountEqualOne \
CheckComputerPartitionInstanceSetupSalePackingListConfirmed \
......@@ -1276,7 +1276,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
CheckComputerPartitionInstanceSetupSalePackingListConfirmed \
Logout \
......@@ -1347,7 +1347,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
Logout \
SlapLoginTestVifibCustomer \
......@@ -1374,7 +1374,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition \
Tic \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
Logout \
RequestSlaveInstanceFromComputerPartition \
......@@ -1434,7 +1434,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
SlapLoginCurrentComputer \
CheckSlaveInstanceListFromOneComputerPartition \
......@@ -1452,7 +1452,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic \
SlapLogout \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
Logout \
SlapLoginTestVifibCustomer \
......@@ -1479,7 +1479,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition \
Tic \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
Logout \
RequestSlaveInstanceFromComputerPartition \
......@@ -1575,7 +1575,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartition \
Tic \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
Logout \
RequestComputerPartition \
......@@ -1585,7 +1585,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartitionWithAnotherSoftwareType \
Tic \
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
Logout \
CheckRequestComputerPartitionWithAnotherSoftwareType \
......
......@@ -45,7 +45,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -327,7 +327,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......
......@@ -41,7 +41,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -97,7 +97,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -152,7 +152,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......@@ -248,7 +248,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
......
......@@ -29,7 +29,7 @@
##############################################################################
from DateTime import DateTime
from AccessControl.SecurityManagement import newSecurityManager, \
getSecurityManager, setSecurityManager
getSecurityManager
from Products.ERP5Type.Errors import UnsupportedWorkflowMethod
from Products.ERP5Type.tests.Sequence import SequenceList
from Products.ERP5Type.tests.backportUnittest import skip
......@@ -267,22 +267,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def stepCheckSoftwareReleaseNotInPublicTable(self, sequence, **kw):
self.assertEqual(0, self._getSoftwareReleasePublicTableAmount(sequence))
def stepTriggerConfirmPlannedInvoiceAlarm(self, sequence, **kw):
sm = getSecurityManager()
self.login()
try:
self.portal.portal_alarms.confirm_planned_sale_invoice_transaction.activeSense()
finally:
setSecurityManager(sm)
def stepTriggerStopConfirmedInvoiceAlarm(self, sequence, **kw):
sm = getSecurityManager()
self.login()
try:
self.portal.portal_alarms.stop_confirmed_sale_invoice_transaction.activeSense()
finally:
setSecurityManager(sm)
def stepCheckComputerTradeConditionDestinationSectionTestVifibCustomer(
self, sequence, **kw):
computer = self.portal.portal_catalog.getResultValue(
......@@ -365,8 +349,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_instance_reference=software_instance.getReference())
def stepSetCurrentPersonSlapRequestedSoftwareInstance(self, sequence, **kw):
cleanup_resource = self.portal.portal_preferences\
.getPreferredInstanceCleanupResource()
software_instance_list = []
for software_instance in self.portal.portal_catalog(
portal_type=self.software_instance_portal_type,
......@@ -937,15 +919,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
sequence['computer_partition_reference'])
computer_partition.building()
def stepConfirmOrderedSaleOrderActiveSense(self, **kw):
sm = getSecurityManager()
self.login()
try:
self.portal.portal_alarms.confirm_ordered_sale_order\
.activeSense()
finally:
setSecurityManager(sm)
def stepPayRegistrationPayment(self, sequence, **kw):
"""
"""
......@@ -1124,7 +1097,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
prepare_install_requested_computer_partition_sequence_string = \
prepare_person_requested_software_instance + """
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -1301,7 +1274,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict \
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition \
......@@ -1319,7 +1292,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
......@@ -1462,16 +1435,32 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
LoginDefaultUser \
SubmitCredentialRequest \
Tic \
AcceptSubmittedCredentialsActiveSense \
CallAcceptSubmittedCredentialsAlarm \
Tic \
Logout \
LoginERP5TypeTestCase \
TriggerBuild \
Tic \
TriggerStopConfirmedInvoiceAlarm \
Tic \
TriggerBuild \
Tic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
CallStopConfirmedSaleInvoiceTransactionAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibTriggerBuildAlarm \
CleanTic \
CallVifibExpandDeliveryLineAlarm \
CleanTic \
CallVifibUpdateDeliveryCausalityStateAlarm \
CleanTic \
Logout'
create_new_user_instance_sequence_string = '\
......@@ -1481,7 +1470,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Logout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
SetSelectedComputerPartition \
SelectCurrentlyUsedSalePackingListUid \
......@@ -1981,7 +1970,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_type, software_type + str(2))
self.stepLoginDefaultUser()
self.stepTic()
self.stepConfirmOrderedSaleOrderActiveSense()
self.stepCallConfirmOrderedSaleOrderAlarm()
self.stepTic()
self.stepLogout()
first = slap_computer_partition.request(software_release,
......@@ -4230,9 +4219,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
)
credential_request.submit()
def stepAcceptSubmittedCredentialsActiveSense(self, **kw):
self.portal.portal_alarms.accept_submitted_credentials.activeSense()
def stepLoginWebUser(self, sequence, **kw):
self.login(sequence['web_user'])
......@@ -4374,7 +4360,6 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
########################################
def _safe_revoke_certificate(self, person):
from AccessControl import getSecurityManager
user = getSecurityManager().getUser().getId()
try:
self.login('ERP5TypeTestCase')
......@@ -4481,7 +4466,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
LoginDefaultUser
SubmitCredentialRequest
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
PayRegistrationPayment
Tic
......@@ -4493,7 +4478,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -4533,7 +4518,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
LoginDefaultUser
SubmitCredentialRequest
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Logout
......@@ -4543,7 +4528,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
LoginWebUser
......
......@@ -17,7 +17,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Tic # in order to call real build
CheckComputerPartitionSaleOrderAggregatedList
......@@ -49,7 +49,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceNotReady
Logout
......@@ -74,7 +74,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
......@@ -104,7 +104,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
LoginTestVifibCustomer
......@@ -139,7 +139,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
......@@ -170,12 +170,12 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
LoginTestVifibCustomer
PersonRequestSoftwareInstance
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
......@@ -202,7 +202,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceNotReady
Logout
......@@ -231,7 +231,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceReady
CheckSlaveInstanceAllocationWithTwoDifferentSoftwareInstance
......@@ -257,7 +257,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
""" + self.prepare_published_software_release + """
Tic
......@@ -271,13 +271,13 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginTestVifibCustomer
PersonRequestSoftwareInstance
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SelectDifferentSoftwareReleaseUri
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceAssociationWithSoftwareInstance
SlapLogout
......@@ -308,7 +308,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
CheckTwoSlaveInstanceRequest
SlapLogout
......@@ -341,7 +341,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
......@@ -371,7 +371,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
......@@ -406,7 +406,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
SlapLoginCurrentComputer
......@@ -453,7 +453,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
SlapLoginCurrentComputer
......@@ -527,7 +527,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
PersonRequestSlaveInstance
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
SlapLoginCurrentComputer
......@@ -587,7 +587,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
LoginTestVifibCustomer
......@@ -625,7 +625,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
LoginTestVifibCustomer
......@@ -663,7 +663,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
LoginTestVifibCustomer
......@@ -702,7 +702,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentComputer
......@@ -753,7 +753,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
LoginTestVifibCustomer
RequestSoftwareInstanceDestroy
......@@ -782,7 +782,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
LoginAsCustomerA
......@@ -791,7 +791,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
SlapLogout
LoginTestVifibCustomer
CheckSlaveInstanceSecurityWithDifferentCustomer
......@@ -820,7 +820,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
......@@ -848,7 +848,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
StoreSalePackingListLineFromSlaveInstance
StoreSaleOrderFromSlaveInstance
......@@ -882,7 +882,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
SetConnectionXmlToSlaveInstance
......@@ -920,7 +920,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -987,7 +987,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -1060,7 +1060,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......@@ -1090,7 +1090,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Logout
Tic
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
......@@ -1105,7 +1105,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
CallConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
......
......@@ -58,7 +58,7 @@ class TestVifibUsageReportMixin(TestVifibSlapWebServiceMixin):
Logout \
\
LoginDefaultUser \
ConfirmOrderedSaleOrderActiveSense \
CallConfirmOrderedSaleOrderAlarm \
Tic \
SetSelectedComputerPartition \
SelectCurrentlyUsedSalePackingListUid \
......
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