diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml index 821d8a66f8a9db96d5cf4071974f1d3505b9b151..50f676d7f8925d35ef0f90001ef1b5b9039b6f14 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml @@ -45,6 +45,10 @@ <key> <string>after_script_id</string> </key> <value> <string>BusinessConfiguration_setupStandardBT5</string> </value> </item> + <item> + <key> <string>before_script_id</string> </key> + <value> <string>BusinessConfiguration_setupStandardInit</string> </value> + </item> <item> <key> <string>categories</string> </key> <value> diff --git a/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_setupStandardInit.xml b/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_setupStandardInit.xml new file mode 100644 index 0000000000000000000000000000000000000000..3e8820f3010109242dd5224b8f0da9fb7e47f38f --- /dev/null +++ b/bt5/erp5_configurator_standard/SkinTemplateItem/portal_skins/erp5_configurator_standard/BusinessConfiguration_setupStandardInit.xml @@ -0,0 +1,73 @@ +<?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.getUserInterfaceDescriptionFileId() is None:\n + context.setUserInterfaceDescriptionFileId("basic_configuration_ui_description.ods")\n +\n +if context.getConfigurationAfterScriptId() is None:\n + context.setConfigurationAfterScriptId(\'BusinessConfiguration_afterConfiguration\')\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_setupStandardInit</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_configurator_standard/bt/revision b/bt5/erp5_configurator_standard/bt/revision index 55a318f19d9be5830ef50c209e49d77e1896a772..4a722e9c7f37ab695fe3e4cec5d18ca4b540b508 100644 --- a/bt5/erp5_configurator_standard/bt/revision +++ b/bt5/erp5_configurator_standard/bt/revision @@ -1 +1 @@ -551 \ No newline at end of file +552 \ No newline at end of file