diff --git a/master/bt5/slapos_cloud/ActionTemplateItem/portal_types/Allocation%20Supply%20Line/view.xml b/master/bt5/slapos_cloud/ActionTemplateItem/portal_types/Allocation%20Supply%20Line/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..04d7a33e2defa6d817d8bbfcdc08d2b64880058d --- /dev/null +++ b/master/bt5/slapos_cloud/ActionTemplateItem/portal_types/Allocation%20Supply%20Line/view.xml @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>action_type/object_view</string> + </tuple> + </value> + </item> + <item> + <key> <string>category</string> </key> + <value> <string>object_view</string> </value> + </item> + <item> + <key> <string>condition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>icon</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>view</string> </value> + </item> + <item> + <key> <string>permissions</string> </key> + <value> + <tuple> + <string>View</string> + </tuple> + </value> + </item> + <item> + <key> <string>priority</string> </key> + <value> <float>1.0</float> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>View</string> </value> + </item> + <item> + <key> <string>visible</string> </key> + <value> <int>1</int> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/SaleSupplyLine_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/slapos_cloud/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/master/bt5/slapos_cloud/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index d773880fe582d602677a7545b84deff17f3e510c..cb04b749d03d3b37cd96e7c1beabed2a20292a80 100644 --- a/master/bt5/slapos_cloud/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/master/bt5/slapos_cloud/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -1,4 +1,10 @@ <allowed_content_type_list> + <portal_type id="Allocation Supply"> + <item>Allocation Supply Line</item> + </portal_type> + <portal_type id="Allocation Supply Line"> + <item>Allocation Supply Cell</item> + </portal_type> <portal_type id="Allocation Supply Module"> <item>Allocation Supply</item> </portal_type> diff --git a/master/bt5/slapos_cloud/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/master/bt5/slapos_cloud/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 580051a44eff35f654137124f41ed21860160c60..0b9bad34ad56996f5a65e483a586c2c6cfd99734 100644 --- a/master/bt5/slapos_cloud/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/master/bt5/slapos_cloud/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -1,4 +1,7 @@ <base_category_list> + <portal_type id="Allocation Supply Line"> + <item>aggregate</item> + </portal_type> <portal_type id="Allocation Supply Module"> <item>business_application</item> </portal_type> diff --git a/master/bt5/slapos_cloud/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/master/bt5/slapos_cloud/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml index 7b5066e36c82bd6166d601bc808d8bc88894918f..eca3101d4d1d7921dfbb84e86c000713a9de429f 100644 --- a/master/bt5/slapos_cloud/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml +++ b/master/bt5/slapos_cloud/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml @@ -1,4 +1,7 @@ <hidden_content_type_list> + <portal_type id="Allocation Supply Line"> + <item>Allocation Supply Cell</item> + </portal_type> <portal_type id="Hosting Subscription Module"> <item>Hosting Subscription</item> </portal_type> diff --git a/master/bt5/slapos_cloud/PortalTypeTemplateItem/portal_types/Allocation%20Supply%20Cell.xml b/master/bt5/slapos_cloud/PortalTypeTemplateItem/portal_types/Allocation%20Supply%20Cell.xml new file mode 100644 index 0000000000000000000000000000000000000000..e023d4b6e159de271fc183f45a7b8d8a0894b829 --- /dev/null +++ b/master/bt5/slapos_cloud/PortalTypeTemplateItem/portal_types/Allocation%20Supply%20Cell.xml @@ -0,0 +1,82 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Base Type" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>acquire_local_roles</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>content_icon</string> </key> + <value> <string>order_line_icon.gif</string> </value> + </item> + <item> + <key> <string>content_meta_type</string> </key> + <value> <string>ERP5 Supply Cell</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>factory</string> </key> + <value> <string>addSupplyCell</string> </value> + </item> + <item> + <key> <string>filter_content_types</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>group_list</string> </key> + <value> + <tuple> + <string>supply_path</string> + </tuple> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Allocation Supply Cell</string> </value> + </item> + <item> + <key> <string>init_script</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>permission</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>type_class</string> </key> + <value> <string>SupplyCell</string> </value> + </item> + <item> + <key> <string>type_interface</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>type_mixin</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/master/bt5/slapos_cloud/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/master/bt5/slapos_cloud/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index 3b07b0aedcdad04e4b654b5442d650fd05eac44b..140612ba89d0fc63b56e9c4faf92cb4c621de489 100644 --- a/master/bt5/slapos_cloud/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/master/bt5/slapos_cloud/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -3,6 +3,14 @@ <type>Allocation Supply</type> <workflow>edit_workflow, validation_workflow</workflow> </chain> + <chain> + <type>Allocation Supply Cell</type> + <workflow>supply_cell_interaction_workflow</workflow> + </chain> + <chain> + <type>Allocation Supply Line</type> + <workflow>edit_workflow, reindex_object_interaction_workflow, supply_line_interaction_workflow</workflow> + </chain> <chain> <type>Compute Node</type> <workflow>compute_node_slap_interface_workflow, slapos_cloud_interaction_workflow</workflow> diff --git a/master/bt5/slapos_cloud/bt/template_action_path_list b/master/bt5/slapos_cloud/bt/template_action_path_list index 43c7500979a9fef838d6bd269e14ecc5d45f90f4..2d71fc601367853c745f80237592eb1fbcb2ad09 100644 --- a/master/bt5/slapos_cloud/bt/template_action_path_list +++ b/master/bt5/slapos_cloud/bt/template_action_path_list @@ -1,3 +1,4 @@ +Allocation Supply Line | view Allocation Supply Module | view Allocation Supply | view Compute Node | compute_node_usage diff --git a/master/bt5/slapos_cloud/bt/template_portal_type_allowed_content_type_list b/master/bt5/slapos_cloud/bt/template_portal_type_allowed_content_type_list index c63c334f0e38f30fbc7b81a7f10c3e68beb393d3..b04cae141e3df9a2c7650839b4dfad4c9e242498 100644 --- a/master/bt5/slapos_cloud/bt/template_portal_type_allowed_content_type_list +++ b/master/bt5/slapos_cloud/bt/template_portal_type_allowed_content_type_list @@ -1,4 +1,6 @@ +Allocation Supply Line | Allocation Supply Cell Allocation Supply Module | Allocation Supply +Allocation Supply | Allocation Supply Line Compute Node | Certificate Login Compute Node | ERP5 Login Hosting Subscription Module | Hosting Subscription diff --git a/master/bt5/slapos_cloud/bt/template_portal_type_base_category_list b/master/bt5/slapos_cloud/bt/template_portal_type_base_category_list index 052a54d67a19ed169d781bbb2ef7c3cf70296cbf..5e85b60edfe81454aa97d7596d7ace81543fc735 100644 --- a/master/bt5/slapos_cloud/bt/template_portal_type_base_category_list +++ b/master/bt5/slapos_cloud/bt/template_portal_type_base_category_list @@ -1,3 +1,4 @@ +Allocation Supply Line | aggregate Allocation Supply Module | business_application Compute Node | destination_section Computer Model | source_administration diff --git a/master/bt5/slapos_cloud/bt/template_portal_type_hidden_content_type_list b/master/bt5/slapos_cloud/bt/template_portal_type_hidden_content_type_list index bc95f9dbb974cac0a677ce1e20649a7203b63fc0..f7bd1d4fc4e3ca86a081831c120e002ccd0d67b0 100644 --- a/master/bt5/slapos_cloud/bt/template_portal_type_hidden_content_type_list +++ b/master/bt5/slapos_cloud/bt/template_portal_type_hidden_content_type_list @@ -1 +1,2 @@ +Allocation Supply Line | Allocation Supply Cell Hosting Subscription Module | Hosting Subscription \ No newline at end of file diff --git a/master/bt5/slapos_cloud/bt/template_portal_type_id_list b/master/bt5/slapos_cloud/bt/template_portal_type_id_list index f71f5dd53dbbb367056aeb186bb6c805aadd20f2..d93a1aaa825aa81f562d20008419f67cceec271f 100644 --- a/master/bt5/slapos_cloud/bt/template_portal_type_id_list +++ b/master/bt5/slapos_cloud/bt/template_portal_type_id_list @@ -1,4 +1,5 @@ Allocation Supply +Allocation Supply Cell Allocation Supply Module Hosting Subscription Hosting Subscription Module diff --git a/master/bt5/slapos_cloud/bt/template_portal_type_workflow_chain_list b/master/bt5/slapos_cloud/bt/template_portal_type_workflow_chain_list index 8f82dab7cfbe1c11e46ddf56139d11c2b8cb32aa..9553c1c6a11e19d7c8fb4abd7906cf8e2cb8a941 100644 --- a/master/bt5/slapos_cloud/bt/template_portal_type_workflow_chain_list +++ b/master/bt5/slapos_cloud/bt/template_portal_type_workflow_chain_list @@ -1,3 +1,7 @@ +Allocation Supply Cell | supply_cell_interaction_workflow +Allocation Supply Line | edit_workflow +Allocation Supply Line | reindex_object_interaction_workflow +Allocation Supply Line | supply_line_interaction_workflow Allocation Supply | edit_workflow Allocation Supply | validation_workflow Compute Node | compute_node_slap_interface_workflow