Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos.core
Commits
09975c7c
Commit
09975c7c
authored
Apr 16, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into payzen-fixup
Conflicts: master/bt5/vifib_base/bt/revision
parents
0ce13c5c
3249160b
Changes
47
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
1314 additions
and
266 deletions
+1314
-266
master/bt5/vifib_agent/SkinTemplateItem/portal_skins/vifib_agent.xml
...vifib_agent/SkinTemplateItem/portal_skins/vifib_agent.xml
+21
-0
master/bt5/vifib_agent/bt/revision
master/bt5/vifib_agent/bt/revision
+1
-1
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_confirmed_sale_order.xml
...eItem/portal_alarms/vifib_expand_confirmed_sale_order.xml
+91
-0
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_delivery_line.xml
...TemplateItem/portal_alarms/vifib_expand_delivery_line.xml
+91
-0
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_update_delivery_causality_state.xml
...m/portal_alarms/vifib_update_delivery_causality_state.xml
+91
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandConfirmedSaleOrder.xml
...skins/vifib_simulation/Alarm_expandConfirmedSaleOrder.xml
+91
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandDeliveryLine.xml
...ortal_skins/vifib_simulation/Alarm_expandDeliveryLine.xml
+111
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_updateCausalityState.xml
...tal_skins/vifib_simulation/Alarm_updateCausalityState.xml
+78
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotCategoryRelatedList.xml
...skins/vifib_simulation/Base_getNotCategoryRelatedList.xml
+123
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotSynchronisedSimulationStateCategoryRelatedList.xml
..._getNotSynchronisedSimulationStateCategoryRelatedList.xml
+126
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/DeliveryLine_updateAppliedRule.xml
...skins/vifib_simulation/DeliveryLine_updateAppliedRule.xml
+70
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Delivery_updateCausalityState.xml
..._skins/vifib_simulation/Delivery_updateCausalityState.xml
+72
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibInvoiceTransaction_postGeneration.xml
...fib_simulation/VifibInvoiceTransaction_postGeneration.xml
+3
-5
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibPaymentTransaction_postGeneration.xml
...fib_simulation/VifibPaymentTransaction_postGeneration.xml
+0
-4
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibSalePackingList_postGeneration.xml
.../vifib_simulation/VifibSalePackingList_postGeneration.xml
+0
-4
master/bt5/vifib_base/bt/revision
master/bt5/vifib_base/bt/revision
+1
-1
master/bt5/vifib_base/bt/template_path_list
master/bt5/vifib_base/bt/template_path_list
+3
-0
master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer.xml
...r/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer.xml
+5
-0
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserAdmin.py
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserAdmin.py
+4
-4
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
master/bt5/vifib_slap/PathTemplateItem/portal_alarms/vifib_trigger_build.xml
...ap/PathTemplateItem/portal_alarms/vifib_trigger_build.xml
+1
-1
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
...lateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
+1
-0
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_stopConfirmedSaleInvoiceTransaction.xml
.../vifib_slap/Alarm_stopConfirmedSaleInvoiceTransaction.xml
+1
-0
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SaleInvoiceTransaction_stopConfirmed.xml
...skins/vifib_slap/SaleInvoiceTransaction_stopConfirmed.xml
+1
-1
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SimulationMovement_buildVifib.xml
...portal_skins/vifib_slap/SimulationMovement_buildVifib.xml
+12
-2
master/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/slap_interaction_workflow/scripts/Person_createRegistrationInvoice.xml
...ion_workflow/scripts/Person_createRegistrationInvoice.xml
+0
-1
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_login_button.xml
...osting/WebSection_viewVifibKVMOrder/your_login_button.xml
+1
-1
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_order_button.xml
...osting/WebSection_viewVifibKVMOrder/your_order_button.xml
+1
-1
master/product/Vifib/tests/VifibMixin.py
master/product/Vifib/tests/VifibMixin.py
+26
-9
master/product/Vifib/tests/testVifibDefaultUseCase.py
master/product/Vifib/tests/testVifibDefaultUseCase.py
+70
-26
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+20
-17
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+10
-2
master/product/Vifib/tests/testVifibSkinSelection.py
master/product/Vifib/tests/testVifibSkinSelection.py
+10
-0
master/product/Vifib/tests/testVifibSlapAllocationScope.py
master/product/Vifib/tests/testVifibSlapAllocationScope.py
+21
-21
master/product/Vifib/tests/testVifibSlapBang.py
master/product/Vifib/tests/testVifibSlapBang.py
+17
-17
master/product/Vifib/tests/testVifibSlapBug.py
master/product/Vifib/tests/testVifibSlapBug.py
+22
-22
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
...ib/tests/testVifibSlapComputerGetComputerPartitionList.py
+5
-2
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
...t/Vifib/tests/testVifibSlapComputerPartitionConnection.py
+1
-1
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
...uct/Vifib/tests/testVifibSlapComputerPartitionGetState.py
+4
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
...product/Vifib/tests/testVifibSlapComputerPartitionLock.py
+5
-5
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+28
-28
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
...oduct/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
+2
-2
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
+4
-4
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+33
-48
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
...oduct/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
+33
-33
master/product/Vifib/tests/testVifibUsageReport.py
master/product/Vifib/tests/testVifibUsageReport.py
+1
-1
No files found.
master/bt5/vifib_agent/SkinTemplateItem/portal_skins/vifib_agent.xml
View file @
09975c7c
...
...
@@ -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>
...
...
master/bt5/vifib_agent/bt/revision
View file @
09975c7c
2
\ No newline at end of file
3
\ No newline at end of file
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_confirmed_sale_order.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_delivery_line.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_update_delivery_causality_state.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandConfirmedSaleOrder.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandDeliveryLine.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_updateCausalityState.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotCategoryRelatedList.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotSynchronisedSimulationStateCategoryRelatedList.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/DeliveryLine_updateAppliedRule.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Delivery_updateCausalityState.xml
0 → 100644
View file @
09975c7c
<?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>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibInvoiceTransaction_postGeneration.xml
View file @
09975c7c
...
...
@@ -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>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibPaymentTransaction_postGeneration.xml
View file @
09975c7c
...
...
@@ -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
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibSalePackingList_postGeneration.xml
View file @
09975c7c
...
...
@@ -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>
...
...
master/bt5/vifib_base/bt/revision
View file @
09975c7c
423
\ No newline at end of file
429
\ No newline at end of file
master/bt5/vifib_base/bt/template_path_list
0 → 100644
View file @
09975c7c
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
master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer.xml
View file @
09975c7c
...
...
@@ -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>
...
...
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserAdmin.py
View file @
09975c7c
...
...
@@ -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
()
...
...
master/bt5/vifib_erp5/bt/revision
View file @
09975c7c
413
\ No newline at end of file
415
\ No newline at end of file
master/bt5/vifib_slap/PathTemplateItem/portal_alarms/vifib_trigger_build.xml
View file @
09975c7c
...
...
@@ -64,7 +64,7 @@
</tuple>
<state>
<tuple>
<float>
12938400
00.0
</float>
<float>
5488128
00.0
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
View file @
09975c7c
...
...
@@ -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
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_stopConfirmedSaleInvoiceTransaction.xml
View file @
09975c7c
...
...
@@ -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
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SaleInvoiceTransaction_stopConfirmed.xml
View file @
09975c7c
...
...
@@ -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
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SimulationMovement_buildVifib.xml
View file @
09975c7c
...
...
@@ -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>
...
...
master/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/slap_interaction_workflow/scripts/Person_createRegistrationInvoice.xml
View file @
09975c7c
...
...
@@ -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>
...
...
master/bt5/vifib_slap/bt/revision
View file @
09975c7c
691
\ No newline at end of file
695
\ No newline at end of file
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_login_button.xml
View file @
09975c7c
...
...
@@ -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
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_order_button.xml
View file @
09975c7c
...
...
@@ -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
...
...
master/product/Vifib/tests/VifibMixin.py
View file @
09975c7c
...
...
@@ -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
)
...
...
master/product/Vifib/tests/testVifibDefaultUseCase.py
View file @
09975c7c
...
...
@@ -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
\
TriggerStopConfirmedInvoice
Alarm
\
Tic
\
TriggerBuild
\
Tic
\
Logout
\
\
CallVifibTriggerBuildAlarm
\
Clean
Tic
\
CallStopConfirmedSaleInvoiceTransaction
Alarm
\
Clean
Tic
\
CallVifibTriggerBuildAlarm
\
Clean
Tic
\
\
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
\
...
...
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
09975c7c
...
...
@@ -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
TriggerConfirmPlannedInvoice
Alarm
CallConfirmPlannedSaleInvoiceTransaction
Alarm
Tic
TriggerStopConfirmedInvoice
Alarm
CallStopConfirmedSaleInvoiceTransaction
Alarm
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
#
TriggerConfirmPlannedInvoice
Alarm
#
CallConfirmPlannedSaleInvoiceTransaction
Alarm
# Tic
#
TriggerStopConfirmedInvoice
Alarm
#
CallStopConfirmedSaleInvoiceTransaction
Alarm
# Tic
#
# # Payment should cover both invoices
#
TriggerBuild
#
CallVifibTriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionTwoStoppedInvoiceDocumentCoverage
...
...
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
09975c7c
...
...
@@ -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
...
...
master/product/Vifib/tests/testVifibSkinSelection.py
View file @
09975c7c
...
...
@@ -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
...
...
master/product/Vifib/tests/testVifibSlapAllocationScope.py
View file @
09975c7c
...
...
@@ -105,7 +105,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -122,7 +122,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
...
...
@@ -135,7 +135,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -204,7 +204,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -221,7 +221,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -238,7 +238,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
...
...
@@ -251,7 +251,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -307,7 +307,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -324,7 +324,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -379,7 +379,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
...
...
@@ -429,7 +429,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
...
...
@@ -481,7 +481,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -499,7 +499,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
...
...
@@ -530,7 +530,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -597,7 +597,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -616,7 +616,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -652,7 +652,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
...
...
@@ -683,7 +683,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -727,7 +727,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -804,7 +804,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -821,7 +821,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
master/product/Vifib/tests/testVifibSlapBang.py
View file @
09975c7c
...
...
@@ -25,7 +25,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
root_software_instance
.
requestSoftwareInstance
(
partition_reference
=
S1
,
**
common_kw
)
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
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
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
root_software_instance
.
requestSoftwareInstance
(
partition_reference
=
S4
,
**
common_kw
)
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
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
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
logout
()
...
...
@@ -408,7 +408,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
</instance>"""
%
sequence
[
'computer_reference_c0'
],
**
common_kw
)
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
logout
()
...
...
@@ -430,7 +430,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
self
.
logout
()
self
.
stepLoginDefaultUser
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
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
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -661,7 +661,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
partition_reference
=
S1
,
**
common_kw
)
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
logout
()
...
...
@@ -782,7 +782,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
SlapLoginCurrentSoftwareInstance
Bang
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
SlapLogout
Tic
LoginTestVifibCustomer
...
...
@@ -874,7 +874,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
RenameCurrentSoftwareInstanceDead
Tic
Bang
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLogout
...
...
@@ -898,7 +898,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
...
...
@@ -910,7 +910,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
...
...
@@ -996,7 +996,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
CheckRaisesNotFoundComputerPartitionParameterDict
Tic
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
...
...
@@ -1006,7 +1006,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
RenameCurrentSoftwareInstanceDead
Tic
Bang
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLogout
...
...
@@ -1020,7 +1020,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
...
...
@@ -1031,7 +1031,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
...
...
@@ -1043,7 +1043,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
...
...
master/product/Vifib/tests/testVifibSlapBug.py
View file @
09975c7c
...
...
@@ -276,7 +276,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -377,7 +377,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
...
...
@@ -649,7 +649,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -768,7 +768,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -786,7 +786,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -816,7 +816,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -933,7 +933,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -950,7 +950,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -980,7 +980,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -1105,7 +1105,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -1122,7 +1122,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -1236,7 +1236,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -1304,7 +1304,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -1347,7 +1347,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -1392,7 +1392,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -1463,7 +1463,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -1509,7 +1509,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -1604,16 +1604,16 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
SubmitCredentialRequest
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Logout
LoginERP5TypeTestCase
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
TriggerStopConfirmedInvoice
Alarm
CallStopConfirmedSaleInvoiceTransaction
Alarm
Tic
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
PayRegistrationPayment
Tic
...
...
@@ -1648,7 +1648,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
View file @
09975c7c
...
...
@@ -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
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
Logout
\
...
...
@@ -358,7 +361,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLogout
\
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
SetDeliveryLineAmountEqualOne
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
View file @
09975c7c
...
...
@@ -55,7 +55,7 @@ class TestVifibSlapComputerPartitionConnection(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckGetSetConnectionDict
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
View file @
09975c7c
...
...
@@ -107,6 +107,10 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
StartSalePackingList
\
StopSalePackingList
\
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
DeliverSalePackingList
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListDelivered
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
View file @
09975c7c
...
...
@@ -8,11 +8,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
lock_user_sequence_string
=
'
\
LoginERP5TypeTestCase
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
TriggerStopConfirmedInvoice
Alarm
\
CallStopConfirmedSaleInvoiceTransaction
Alarm
\
Tic
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
Logout'
...
...
@@ -65,7 +65,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
\
LoginDefaultUser
\
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
AssertNoComputerPartition
\
Logout
\
...
...
@@ -94,7 +94,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
\
LoginDefaultUser
\
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
AssertNoComputerPartition
\
Logout
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
09975c7c
...
...
@@ -46,7 +46,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout
\
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
...
@@ -89,7 +89,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout
\
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
...
@@ -160,7 +160,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
...
@@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
...
@@ -253,7 +253,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckRequestedComputerPartitionCleanParameterList
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
LoginDefaultUser
\
SetCurrentSoftwareInstanceRequested
\
...
...
@@ -471,7 +471,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout
\
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
...
@@ -506,7 +506,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
...
@@ -580,7 +580,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
...
...
@@ -613,7 +613,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
...
...
@@ -676,7 +676,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestSlaveInstanceFromComputerPartition
...
...
@@ -708,7 +708,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestSlaveInstanceFromComputerPartition
...
...
@@ -804,7 +804,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -826,7 +826,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
...
...
@@ -997,7 +997,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
...
...
@@ -1031,7 +1031,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentSoftwareInstance
...
...
@@ -1085,7 +1085,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
...
...
@@ -1096,7 +1096,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
...
...
@@ -1132,7 +1132,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
SelectSlaveInstanceFromSaleOrderOrdered
SoftwareInstanceSaleOrderLineNoPartitionFound
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetDeliveryLineAmountEqualZero
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
...
...
@@ -1157,7 +1157,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
"""
...
...
@@ -1263,7 +1263,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
SetDeliveryLineAmountEqualOne
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
...
...
@@ -1276,7 +1276,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
Logout
\
...
...
@@ -1347,7 +1347,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Logout
\
SlapLoginTestVifibCustomer
\
...
...
@@ -1374,7 +1374,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
\
Tic
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Logout
\
RequestSlaveInstanceFromComputerPartition
\
...
...
@@ -1434,7 +1434,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
SlapLoginCurrentComputer
\
CheckSlaveInstanceListFromOneComputerPartition
\
...
...
@@ -1452,7 +1452,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Logout
\
SlapLoginTestVifibCustomer
\
...
...
@@ -1479,7 +1479,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
\
Tic
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Logout
\
RequestSlaveInstanceFromComputerPartition
\
...
...
@@ -1575,7 +1575,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartition
\
Tic
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Logout
\
RequestComputerPartition
\
...
...
@@ -1585,7 +1585,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartitionWithAnotherSoftwareType
\
Tic
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Logout
\
CheckRequestComputerPartitionWithAnotherSoftwareType
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
View file @
09975c7c
...
...
@@ -45,7 +45,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -327,7 +327,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
View file @
09975c7c
...
...
@@ -41,7 +41,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -97,7 +97,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -152,7 +152,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
@@ -248,7 +248,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
09975c7c
...
...
@@ -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
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -1301,7 +1274,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
\
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
RequestComputerPartition
\
...
...
@@ -1319,7 +1292,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
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
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
SetSelectedComputerPartition
\
SelectCurrentlyUsedSalePackingListUid
\
...
...
@@ -1981,7 +1970,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_type
,
software_type
+
str
(
2
))
self
.
stepLoginDefaultUser
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
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
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
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
...
...
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
View file @
09975c7c
...
...
@@ -17,7 +17,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic # in order to call real build
CheckComputerPartitionSaleOrderAggregatedList
...
...
@@ -49,7 +49,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceNotReady
Logout
...
...
@@ -74,7 +74,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Logout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
...
...
@@ -104,7 +104,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
LoginTestVifibCustomer
...
...
@@ -139,7 +139,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
...
...
@@ -170,12 +170,12 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
LoginTestVifibCustomer
PersonRequestSoftwareInstance
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
...
...
@@ -202,7 +202,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceNotReady
Logout
...
...
@@ -231,7 +231,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceReady
CheckSlaveInstanceAllocationWithTwoDifferentSoftwareInstance
...
...
@@ -257,7 +257,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
"""
+
self
.
prepare_published_software_release
+
"""
Tic
...
...
@@ -271,13 +271,13 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginTestVifibCustomer
PersonRequestSoftwareInstance
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SelectDifferentSoftwareReleaseUri
LoginTestVifibCustomer
PersonRequestSlaveInstance
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckSlaveInstanceAssociationWithSoftwareInstance
SlapLogout
...
...
@@ -308,7 +308,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
CheckTwoSlaveInstanceRequest
SlapLogout
...
...
@@ -341,7 +341,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
...
...
@@ -371,7 +371,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
SoftwareInstanceAvailable
...
...
@@ -406,7 +406,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
SlapLoginCurrentComputer
...
...
@@ -453,7 +453,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
SlapLoginCurrentComputer
...
...
@@ -527,7 +527,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
PersonRequestSlaveInstance
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
SlapLoginCurrentComputer
...
...
@@ -587,7 +587,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
LoginTestVifibCustomer
...
...
@@ -625,7 +625,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
LoginTestVifibCustomer
...
...
@@ -663,7 +663,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
LoginTestVifibCustomer
...
...
@@ -702,7 +702,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentComputer
...
...
@@ -753,7 +753,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
LoginTestVifibCustomer
RequestSoftwareInstanceDestroy
...
...
@@ -782,7 +782,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLogout
LoginAsCustomerA
...
...
@@ -791,7 +791,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
SlapLogout
LoginTestVifibCustomer
CheckSlaveInstanceSecurityWithDifferentCustomer
...
...
@@ -820,7 +820,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
...
...
@@ -848,7 +848,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
StoreSalePackingListLineFromSlaveInstance
StoreSaleOrderFromSlaveInstance
...
...
@@ -882,7 +882,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
SetConnectionXmlToSlaveInstance
...
...
@@ -920,7 +920,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -987,7 +987,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -1060,7 +1060,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
@@ -1090,7 +1090,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Logout
Tic
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -1105,7 +1105,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
SlapLogout
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Logout
SlapLoginCurrentSoftwareInstance
...
...
master/product/Vifib/tests/testVifibUsageReport.py
View file @
09975c7c
...
...
@@ -58,7 +58,7 @@ class TestVifibUsageReportMixin(TestVifibSlapWebServiceMixin):
Logout
\
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
SetSelectedComputerPartition
\
SelectCurrentlyUsedSalePackingListUid
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment