diff --git a/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml new file mode 100644 index 0000000000000000000000000000000000000000..95a004c0c47006b3302d950c92442ed8fb43f8f9 --- /dev/null +++ b/bt5/erp5_computer_immobilisation/ActionTemplateItem/portal_types/Internet%20Protocol%20Address/view.xml @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ActionInformation" module="Products.CMFCore.ActionInformation"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>action</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </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> + <tuple> + <global name="Expression" module="Products.CMFCore.Expression"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>string:${object_url}/InternetProtocolAddress_view</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml new file mode 100644 index 0000000000000000000000000000000000000000..06236899081b547b6d176e4fdb11c365187e32ef --- /dev/null +++ b/bt5/erp5_computer_immobilisation/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -0,0 +1,14 @@ +<workflow_chain> + <chain> + <type>Computer</type> + <workflow>edit_workflow, validation_workflow</workflow> + </chain> + <chain> + <type>Computer Partition</type> + <workflow>validation_workflow, edit_workflow</workflow> + </chain> + <chain> + <type>Internet Protocol Address</type> + <workflow>edit_workflow</workflow> + </chain> +</workflow_chain> \ No newline at end of file diff --git a/bt5/erp5_computer_immobilisation/bt/change_log b/bt5/erp5_computer_immobilisation/bt/change_log index 34f226c1df7e0becba107af93533d463162c6aa8..d59a35305ce1ba14fe2046089154546e772910f6 100644 --- a/bt5/erp5_computer_immobilisation/bt/change_log +++ b/bt5/erp5_computer_immobilisation/bt/change_log @@ -1,3 +1,7 @@ +2008-4-18 yusei +* Add workflow chain. +* Add default view for Internet Protocol Address. (forgot to commit it before) + 2008-4-17 yusei * Turned on acquire local role for Internet Protocol Address portal type. diff --git a/bt5/erp5_computer_immobilisation/bt/revision b/bt5/erp5_computer_immobilisation/bt/revision index e440e5c842586965a7fb77deda2eca68612b1f53..bf0d87ab1b2b0ec1a11a3973d2845b42413d9767 100644 --- a/bt5/erp5_computer_immobilisation/bt/revision +++ b/bt5/erp5_computer_immobilisation/bt/revision @@ -1 +1 @@ -3 \ No newline at end of file +4 \ No newline at end of file diff --git a/bt5/erp5_computer_immobilisation/bt/template_action_path_list b/bt5/erp5_computer_immobilisation/bt/template_action_path_list index fb27fb0714e41b9933133fb5f4868d5ddd424a51..b8cbae72f9cb991c7e681c25c9907c9597493370 100644 --- a/bt5/erp5_computer_immobilisation/bt/template_action_path_list +++ b/bt5/erp5_computer_immobilisation/bt/template_action_path_list @@ -1,4 +1,5 @@ Computer Module | view Computer Partition | view Computer | computer_partition -Computer | view \ No newline at end of file +Computer | view +Internet Protocol Address | view \ No newline at end of file diff --git a/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list b/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f1ee0da7168e521525c5723c0758b7ae2acde4ed 100644 --- a/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_computer_immobilisation/bt/template_portal_type_workflow_chain_list @@ -0,0 +1,5 @@ +Computer Partition | edit_workflow +Computer Partition | validation_workflow +Computer | edit_workflow +Computer | validation_workflow +Internet Protocol Address | edit_workflow \ No newline at end of file