Commit cb397f05 authored by Ivan Tyagov's avatar Ivan Tyagov

Add latest work of Xavier Hardy.

parent ca2fd9c4
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>resource/workflow_module/runmydocs_configuration_workflow</string> <string>resource/workflow_module/run_my_doc_configuration_workflow</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
</item> </item>
<item> <item>
<key> <string>configuration_after_script_id</string> </key> <key> <string>configuration_after_script_id</string> </key>
<value> <string>BusinessConfiguration_afterRunMyDocsConfiguration</string> </value> <value> <string>BusinessConfiguration_afterRunMyDocConfiguration</string> </value>
</item> </item>
<item> <item>
<key> <string>creation_date</string> </key> <key> <string>creation_date</string> </key>
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1321225200.0</float> <float>1323385200.0</float>
<string>GMT+1</string> <string>GMT+1</string>
</tuple> </tuple>
</state> </state>
...@@ -142,11 +142,11 @@ ...@@ -142,11 +142,11 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>RunMyDocs doubles the productivity of documentation by making marketers and developers collaborate automatically.</string> </value> <value> <string>RunMyDoc doubles the productivity of documentation by making marketers and developers collaborate automatically.</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>runmydocs_configuration</string> </value> <value> <string>run_my_doc_configuration</string> </value>
</item> </item>
<item> <item>
<key> <string>language</string> </key> <key> <string>language</string> </key>
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1321225200.0</float> <float>1323730800.0</float>
<string>GMT+1</string> <string>GMT+1</string>
</tuple> </tuple>
</state> </state>
...@@ -177,11 +177,11 @@ ...@@ -177,11 +177,11 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Run My Docs</string> </value> <value> <string>Run My Doc</string> </value>
</item> </item>
<item> <item>
<key> <string>user_interface_description_file_id</string> </key> <key> <string>user_interface_description_file_id</string> </key>
<value> <string>runmydocs_configuration_ui_description.ods</string> </value> <value> <string>runmydoc_configuration_ui_description.ods</string> </value>
</item> </item>
<item> <item>
<key> <string>version</string> </key> <key> <string>version</string> </key>
......
...@@ -45,17 +45,17 @@ ...@@ -45,17 +45,17 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>source/workflow_module/runmydocs_configuration_workflow/1</string> <string>source/workflow_module/run_my_doc_configuration_workflow/1</string>
</tuple> </tuple>
</value> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>The default RunMyDocs configuration workflow.</string> </value> <value> <string>The default RunMyDoc configuration workflow.</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>runmydocs_configuration_workflow</string> </value> <value> <string>run_my_doc_configuration_workflow</string> </value>
</item> </item>
<item> <item>
<key> <string>language</string> </key> <key> <string>language</string> </key>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>RunMyDocs Configuration Workflow</string> </value> <value> <string>RunMyDoc Configuration Workflow</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/56</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/56</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/64</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/64</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
</item> </item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsList</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocList</string> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/9</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/9</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</item> </item>
<item> <item>
<key> <string>transition_form_id</string> </key> <key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsUserListForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocUserListForm</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>causality/workflow_module/runmydocs_configuration_workflow/16</string> <string>causality/workflow_module/run_my_doc_configuration_workflow/16</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/11</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/11</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</item> </item>
<item> <item>
<key> <string>transition_form_id</string> </key> <key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_displayRunMyDocsDownloadForm</string> </value> <value> <string>BusinessConfiguration_displayRunMyDocDownloadForm</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/4</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/4</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
</item> </item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsWizardBT5</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocWizardBT5</string> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/29</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/29</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/14</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/14</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
</item> </item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsPreferences</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocPreferences</string> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/31</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/31</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
</item> </item>
<item> <item>
<key> <string>transition_form_id</string> </key> <key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsPreferencesForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocPreferencesForm</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
</item> </item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsOrganisation</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocOrganisation</string> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/8</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/8</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</item> </item>
<item> <item>
<key> <string>transition_form_id</string> </key> <key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsOrganisationForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocOrganisationForm</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/30</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/30</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -43,17 +43,17 @@ ...@@ -43,17 +43,17 @@
</item> </item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsStandardBT5</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocStandardBT5</string> </value>
</item> </item>
<item> <item>
<key> <string>before_script_id</string> </key> <key> <string>before_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsStandardInit</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocStandardInit</string> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/55</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/55</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/12</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/12</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
</item> </item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsUserNumber</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocUserNumber</string> </value>
</item> </item>
<item> <item>
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/61</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/61</string>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</item> </item>
<item> <item>
<key> <string>transition_form_id</string> </key> <key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsUserNumberForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocUserNumberForm</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/63</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/63</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/62</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/62</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<key> <string>categories</string> </key> <key> <string>categories</string> </key>
<value> <value>
<tuple> <tuple>
<string>destination/workflow_module/runmydocs_configuration_workflow/32</string> <string>destination/workflow_module/run_my_doc_configuration_workflow/32</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
...@@ -58,32 +58,32 @@ portal_preferences = portal.portal_preferences\n ...@@ -58,32 +58,32 @@ portal_preferences = portal.portal_preferences\n
business_template = context.getSpecialiseValue()\n business_template = context.getSpecialiseValue()\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
\n \n
# enable runmydocs preference\n # enable runmydoc preference\n
runmydocs_preference = getattr(portal.portal_preferences, \'runmydocs_preference\', None)\n runmydoc_preference = getattr(portal.portal_preferences, \'runmydoc_preference\', None)\n
if runmydocs_preference is not None and isTransitionPossible(runmydocs_preference, \'enable\'):\n if runmydoc_preference is not None and isTransitionPossible(runmydoc_preference, \'enable\'):\n
runmydocs_preference.enable()\n runmydoc_preference.enable()\n
\n \n
# Access Front Tab enabled for everyone\n # Access Front Tab enabled for everyone\n
for preference in context.portal_catalog(portal_type = \'Preference\'):\n for preference in context.portal_catalog(portal_type = \'Preference\'):\n
preference.setPreferredHtmlStyleAccessTab(1)\n preference.setPreferredHtmlStyleAccessTab(1)\n
\n \n
"""\n """\n
# publish the runmydocs web site\n # publish the runmydoc web site\n
runmydocs_web_site = getattr(portal.web_site_module, \'runmydocs\', None)\n runmydoc_web_site = getattr(portal.web_site_module, \'runmydoc\', None)\n
if runmydocs_web_site is not None and isTransitionPossible(runmydocs_web_site, \'publish\', None):\n if runmydoc_web_site is not None and isTransitionPossible(runmydoc_web_site, \'publish\', None):\n
runmydocs_web_site.publish()\n runmydoc_web_site.publish()\n
"""\n """\n
\n \n
language = context.getGlobalConfigurationAttr("default_available_language")\n language = context.getGlobalConfigurationAttr("default_available_language")\n
\n \n
"""\n """\n
runmydocs_web_site.setDefaultAvailableLanguage(language)\n runmydoc_web_site.setDefaultAvailableLanguage(language)\n
for web_section in runmydocs_web_site.contentValues(portal_types=\'Web Section\'):\n for web_section in runmydoc_web_site.contentValues(portal_types=\'Web Section\'):\n
if isTransitionPossible(web_section, \'publish\', None):\n if isTransitionPossible(web_section, \'publish\', None):\n
web_section.publish()\n web_section.publish()\n
\n \n
bt5 = portal.portal_catalog.getResultValue(portal_type="Business Template",\n bt5 = portal.portal_catalog.getResultValue(portal_type="Business Template",\n
title="erp5_web_runmydocs_role")\n title="erp5_web_runmydoc_role")\n
\n \n
if bt5 is not None:\n if bt5 is not None:\n
for portal_type in bt5.getTemplatePortalTypeRolesList():\n for portal_type in bt5.getTemplatePortalTypeRolesList():\n
...@@ -165,6 +165,10 @@ portal.ERP5Site_updateTranslationTable()\n ...@@ -165,6 +165,10 @@ portal.ERP5Site_updateTranslationTable()\n
# clear cache so user security is recalculated\n # clear cache so user security is recalculated\n
portal.portal_caches.clearAllCache()\n portal.portal_caches.clearAllCache()\n
context.log("Clear cache.")\n context.log("Clear cache.")\n
\n
context.log("Reindexing objects and updating roles.")\n
context.BusinessConfiguration_reindexRunMyDocObjectsAndRoles()\n
context.log("Objects reindex and roles updates.")\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -173,7 +177,7 @@ context.log("Clear cache.")\n ...@@ -173,7 +177,7 @@ context.log("Clear cache.")\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_afterRunMyDocsConfiguration</string> </value> <value> <string>BusinessConfiguration_afterRunMyDocConfiguration</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_displayRunMyDocsDownloadForm</string> </value> <value> <string>BusinessConfiguration_displayRunMyDocDownloadForm</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
......
...@@ -68,7 +68,7 @@ return {\n ...@@ -68,7 +68,7 @@ return {\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_getRunMyDocsAvailableL10NBusinessTemplateList</string> </value> <value> <string>BusinessConfiguration_getRunMyDocAvailableL10NBusinessTemplateList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -67,7 +67,7 @@ return date_order_list\n ...@@ -67,7 +67,7 @@ return date_order_list\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_getRunMyDocsPreferredDateOrderList</string> </value> <value> <string>BusinessConfiguration_getRunMyDocPreferredDateOrderList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
<?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>""" This script reindex all the objects created before updating local roles """\n
module_list = [\'document\',\n
\'image\',\n
\'knowledge_pad\',\n
\'organisation\',\n
\'person\',\n
\'review\',\n
\'test_page\',\n
\'web_page\',\n
\'web_site\']\n
\n
context.portal_types.recursiveImmediateReindexObject()\n
for module_content_name in module_list:\n
module_name = module_content_name + \'_module\'\n
module = context.restrictedTraverse(\'erp5/\' + module_name) \n
module.recursiveImmediateReindexObject()\n
stack = [module]\n
for obj in stack:\n
for child in obj.objectValues():\n
stack.append(child)\n
obj.updateLocalRolesOnSecurityGroups()\n
obj.reindexObjectSecurity()\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_reindexRunMyDocObjectsAndRoles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -89,7 +89,7 @@ else:\n ...@@ -89,7 +89,7 @@ else:\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsList</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocList</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -70,7 +70,7 @@ context.setGlobalConfigurationAttr(\n ...@@ -70,7 +70,7 @@ context.setGlobalConfigurationAttr(\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsOrganisation</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocOrganisation</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsOrganisationForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocOrganisationForm</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
......
...@@ -115,7 +115,7 @@ configuration_save.addConfigurationItem(\'System Preference Configurator Item\', ...@@ -115,7 +115,7 @@ configuration_save.addConfigurationItem(\'System Preference Configurator Item\',
**system_prefs)\n **system_prefs)\n
\n \n
if default_available_language and default_available_language != "en":\n if default_available_language and default_available_language != "en":\n
language_dict = context.BusinessConfiguration_getRunMyDocsAvailableL10NBusinessTemplateList()\n language_dict = context.BusinessConfiguration_getRunMyDocAvailableL10NBusinessTemplateList()\n
bt5 = language_dict.get(default_available_language)\n bt5 = language_dict.get(default_available_language)\n
if bt5:\n if bt5:\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
...@@ -138,7 +138,7 @@ if default_available_language and default_available_language != "en":\n ...@@ -138,7 +138,7 @@ if default_available_language and default_available_language != "en":\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsPreferences</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocPreferences</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsPreferencesForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocPreferencesForm</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
......
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: [(v[\'name\'], k) for k,v in context.BusinessConfiguration_getRunMyDocsAvailableL10NBusinessTemplateList().items()] + [(context.Base_translateString(\'English\'), "en"),]</string> </value> <value> <string>python: [(v[\'name\'], k) for k,v in context.BusinessConfiguration_getRunMyDocAvailableL10NBusinessTemplateList().items()] + [(context.Base_translateString(\'English\'), "en"),]</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>here/BusinessConfiguration_getRunMyDocsPreferredDateOrderList</string> </value> <value> <string>here/BusinessConfiguration_getRunMyDocPreferredDateOrderList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -61,7 +61,8 @@ bt5_installation_list = (\'erp5_jquery\',\n ...@@ -61,7 +61,8 @@ bt5_installation_list = (\'erp5_jquery\',\n
\'erp5_jquery_ui\',\n \'erp5_jquery_ui\',\n
\'erp5_slideshow_style\',\n \'erp5_slideshow_style\',\n
\'erp5_knowledge_pad\',\n \'erp5_knowledge_pad\',\n
\'erp5_run_my_docs\')\n \'erp5_run_my_doc\',\n
\'erp5_run_my_doc_roles\')\n
\n \n
bt5_update_catalog = (\'erp5_ingestion_mysql_innodb_catalog\')\n bt5_update_catalog = (\'erp5_ingestion_mysql_innodb_catalog\')\n
\n \n
...@@ -78,7 +79,7 @@ for name in bt5_installation_list:\n ...@@ -78,7 +79,7 @@ for name in bt5_installation_list:\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsStandardBT5</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocStandardBT5</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -53,10 +53,10 @@ ...@@ -53,10 +53,10 @@
<value> <string># Update Business Configuration Properties if not set.\n <value> <string># Update Business Configuration Properties if not set.\n
\n \n
if context.getUserInterfaceDescriptionFileId() is None:\n if context.getUserInterfaceDescriptionFileId() is None:\n
context.setUserInterfaceDescriptionFileId("runmydocs_configuration_ui_description.ods")\n context.setUserInterfaceDescriptionFileId("runmydoc_configuration_ui_description.ods")\n
\n \n
if context.getConfigurationAfterScriptId() is None:\n if context.getConfigurationAfterScriptId() is None:\n
context.setConfigurationAfterScriptId(\'BusinessConfiguration_afterRunMyDocsConfiguration\')\n context.setConfigurationAfterScriptId(\'BusinessConfiguration_afterRunMyDocConfiguration\')\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -65,7 +65,7 @@ if context.getConfigurationAfterScriptId() is None:\n ...@@ -65,7 +65,7 @@ if context.getConfigurationAfterScriptId() is None:\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsStandardInit</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocStandardInit</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsUserListForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocUserListForm</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
......
...@@ -76,7 +76,7 @@ context.setGlobalConfigurationAttr(user_number=user_number)\n ...@@ -76,7 +76,7 @@ context.setGlobalConfigurationAttr(user_number=user_number)\n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsUserNumber</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocUserNumber</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsUserNumberForm</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocUserNumberForm</string> </value>
</item> </item>
<item> <item>
<key> <string>method</string> </key> <key> <string>method</string> </key>
......
...@@ -61,7 +61,7 @@ configuration_save.addConfigurationItem("Customer BT5 Configurator Item", \n ...@@ -61,7 +61,7 @@ configuration_save.addConfigurationItem("Customer BT5 Configurator Item", \n
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocsWizardBT5</string> </value> <value> <string>BusinessConfiguration_setupRunMyDocWizardBT5</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
1 2
\ No newline at end of file \ No newline at end of file
business_configuration_module/runmydocs_configuration business_configuration_module/run_my_doc_configuration
business_configuration_module/runmydocs_configuration/default_image business_configuration_module/run_my_doc_configuration/default_image
workflow_module/runmydocs_configuration_workflow workflow_module/run_my_doc_configuration_workflow
workflow_module/runmydocs_configuration_workflow/** workflow_module/run_my_doc_configuration_workflow/**
\ No newline at end of file \ No newline at end of file
testRunMyDocConfigurationWorkflow
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment