From 2bfad0af47954111dcec1b6e0eef26aedd3670da Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Thu, 8 Mar 2012 04:17:33 -0300 Subject: [PATCH] Follow up "Get Description and Image from Workflow itself" Move description and Image to Workflow Document. --- .../default_maxma_demo_configuration.xml | 4 -- .../maxma_demo_configuration_workflow.xml | 6 +- .../default_image.xml | 0 ...sinessConfiguration_setupMaxmaDemoInit.xml | 70 ------------------- .../bt/template_path_list | 1 - 5 files changed, 5 insertions(+), 76 deletions(-) rename bt5/erp5_configurator_maxma_demo/PathTemplateItem/{business_configuration_module/default_maxma_demo_configuration => workflow_module/maxma_demo_configuration_workflow}/default_image.xml (100%) delete mode 100644 bt5/erp5_configurator_maxma_demo/SkinTemplateItem/portal_skins/erp5_configurator_maxma_demo/BusinessConfiguration_setupMaxmaDemoInit.xml diff --git a/bt5/erp5_configurator_maxma_demo/PathTemplateItem/business_configuration_module/default_maxma_demo_configuration.xml b/bt5/erp5_configurator_maxma_demo/PathTemplateItem/business_configuration_module/default_maxma_demo_configuration.xml index 08e5e9354d..7879737845 100644 --- a/bt5/erp5_configurator_maxma_demo/PathTemplateItem/business_configuration_module/default_maxma_demo_configuration.xml +++ b/bt5/erp5_configurator_maxma_demo/PathTemplateItem/business_configuration_module/default_maxma_demo_configuration.xml @@ -164,10 +164,6 @@ <none/> </value> </item> - <item> - <key> <string>last_id</string> </key> - <value> <string>4</string> </value> - </item> <item> <key> <string>modification_date</string> </key> <value> diff --git a/bt5/erp5_configurator_maxma_demo/PathTemplateItem/workflow_module/maxma_demo_configuration_workflow.xml b/bt5/erp5_configurator_maxma_demo/PathTemplateItem/workflow_module/maxma_demo_configuration_workflow.xml index 7cfb81bfd5..36ec689e38 100644 --- a/bt5/erp5_configurator_maxma_demo/PathTemplateItem/workflow_module/maxma_demo_configuration_workflow.xml +++ b/bt5/erp5_configurator_maxma_demo/PathTemplateItem/workflow_module/maxma_demo_configuration_workflow.xml @@ -49,9 +49,13 @@ </tuple> </value> </item> + <item> + <key> <string>configuration_after_script_id</string> </key> + <value> <string>BusinessConfiguration_afterMaxmaDemoConfiguration</string> </value> + </item> <item> <key> <string>description</string> </key> - <value> <string>The default Maxma Demo configuration workflow.</string> </value> + <value> <string>Maxma Demo is a pr茅-build configuration which the user can experiment the most common modules provided by ERP5.</string> </value> </item> <item> <key> <string>id</string> </key> diff --git a/bt5/erp5_configurator_maxma_demo/PathTemplateItem/business_configuration_module/default_maxma_demo_configuration/default_image.xml b/bt5/erp5_configurator_maxma_demo/PathTemplateItem/workflow_module/maxma_demo_configuration_workflow/default_image.xml similarity index 100% rename from bt5/erp5_configurator_maxma_demo/PathTemplateItem/business_configuration_module/default_maxma_demo_configuration/default_image.xml rename to bt5/erp5_configurator_maxma_demo/PathTemplateItem/workflow_module/maxma_demo_configuration_workflow/default_image.xml diff --git a/bt5/erp5_configurator_maxma_demo/SkinTemplateItem/portal_skins/erp5_configurator_maxma_demo/BusinessConfiguration_setupMaxmaDemoInit.xml b/bt5/erp5_configurator_maxma_demo/SkinTemplateItem/portal_skins/erp5_configurator_maxma_demo/BusinessConfiguration_setupMaxmaDemoInit.xml deleted file mode 100644 index f12cfd27a3..0000000000 --- a/bt5/erp5_configurator_maxma_demo/SkinTemplateItem/portal_skins/erp5_configurator_maxma_demo/BusinessConfiguration_setupMaxmaDemoInit.xml +++ /dev/null @@ -1,70 +0,0 @@ -<?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># Update Business Configuration Properties if not set.\n -\n -if context.getConfigurationAfterScriptId() is None:\n - context.setConfigurationAfterScriptId(\'BusinessConfiguration_afterMaxmaDemoConfiguration\')\n -</string> </value> - </item> - <item> - <key> <string>_params</string> </key> - <value> <string>**kw</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>BusinessConfiguration_setupMaxmaDemoInit</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_configurator_maxma_demo/bt/template_path_list b/bt5/erp5_configurator_maxma_demo/bt/template_path_list index e95052ba42..5769e5334d 100644 --- a/bt5/erp5_configurator_maxma_demo/bt/template_path_list +++ b/bt5/erp5_configurator_maxma_demo/bt/template_path_list @@ -1,4 +1,3 @@ business_configuration_module/default_maxma_demo_configuration -business_configuration_module/default_maxma_demo_configuration/default_image workflow_module/maxma_demo_configuration_workflow workflow_module/maxma_demo_configuration_workflow/** \ No newline at end of file -- 2.30.9