Commit eb00d274 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

erp5_configurator_standard: deploy configuration and remove old workflow.

parent f4dec179
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow" module="erp5.portal_type"/>
<global name="Configuration Workflow" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -26,6 +26,16 @@
<value> <string>string</string> </value>
</item>
</dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>state_base_category</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
......@@ -45,7 +55,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>source/portal_workflow/workflow_erp5_consulting_workflow/state_start</string>
<string>source/portal_workflow/erp5_consulting_workflow/1</string>
</tuple>
</value>
</item>
......@@ -57,36 +67,21 @@
<key> <string>configuration_after_script_id</string> </key>
<value> <string>BusinessConfiguration_afterConfiguration</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>erp5_consulting_workflow</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Used by consultants to provides a flexible configuration of ERP5 for Small and Medium Business.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>workflow_erp5_consulting_workflow</string> </value>
</item>
<item>
<key> <string>managed_permission_list</string> </key>
<value>
<tuple>
<string>Access contents information</string>
<string>Add portal content</string>
<string>View</string>
<string>Modify portal content</string>
</tuple>
</value>
<value> <string>erp5_consulting_workflow</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow</string> </value>
<value> <string>Configuration Workflow</string> </value>
</item>
<item>
<key> <string>state_variable</string> </key>
<value> <string>validation_state</string> </value>
<key> <string>state_base_category</string> </key>
<value> <string>current_state</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_setup_standard_bt5</string>
<string>destination/portal_workflow/erp5_consulting_workflow/18</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>start</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_start</string> </value>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/17</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Upload your roles settings spreadsheet.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>10</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Your roles settings</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_configure_user_accounts_numbers</string>
<string>destination/portal_workflow/erp5_consulting_workflow/19</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>your_organisation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Configure your organisation.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_your_organisation</string> </value>
<value> <string>11</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Your Organisation</string> </value>
<value> <string>Your organisation</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/21</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Fill in detailled information for each ERP5 user.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>12</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>User accounts configuration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeeList</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/12</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>13</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure user accounts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_displayDownload</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/2</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>14</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Install</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupCustomerBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/3</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>15</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup customer BT5</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPreferences</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/4</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>16</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure ERP5 Preferences</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_configureConsultingOrganisation</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/11</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>17</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Organisation</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupStandardBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/5</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>18</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup standard BT5</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeesNumber</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/6</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>19</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure user accounts number</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,25 +10,21 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_finalize</string>
<string>destination/portal_workflow/erp5_consulting_workflow/20</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>download</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Installation procedure may begin.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_download</string> </value>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/7</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>20</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Finalize</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupAccounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/8</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>21</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure accounting</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_configureCategories</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/9</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>22</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Categories</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_configurePortalTypeRoles</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_consulting_workflow/10</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>23</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Roles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_setup_category</string>
<string>destination/portal_workflow/erp5_consulting_workflow/22</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>customer_bt</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_customer_bt</string> </value>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_install</string>
<string>destination/portal_workflow/erp5_consulting_workflow/14</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>application_preferences</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Define some global preferences for your ERP5 application.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_application_preferences</string> </value>
<value> <string>4</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Application Preferences</string> </value>
<value> <string>Application preferences</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_setup_customer_bt5</string>
<string>destination/portal_workflow/erp5_consulting_workflow/15</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>standard_bt5</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_standard_bt5</string> </value>
<value> <string>5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_user_accounts</string>
<string>destination/portal_workflow/erp5_consulting_workflow/13</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>number_of_user_accounts</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Enter the number of user accounts you want to create. In your company, each person using ERP5 should have his own user account.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_number_of_user_accounts</string> </value>
<value> <string>6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Number of User Accounts</string> </value>
<value> <string>Number of user accounts</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,14 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>end</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -18,11 +14,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_end</string> </value>
<value> <string>7</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,25 +10,21 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_configure_erp5_preferences</string>
<string>destination/portal_workflow/erp5_consulting_workflow/16</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>accounting</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Configure your accounting.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_accounting</string> </value>
<value> <string>8</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,25 +10,21 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_roles</string>
<string>destination/portal_workflow/erp5_consulting_workflow/23</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>your_categories</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Upload your categories spreadsheet.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_your_categories</string> </value>
<value> <string>9</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -34,10 +34,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>configuration_save_url</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow" module="erp5.portal_type"/>
<global name="Configuration Workflow" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -12,6 +12,23 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_local_properties</string> </key>
<value>
<tuple>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>state_base_category</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>lines</string> </value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
......@@ -28,7 +45,7 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>source/portal_workflow/workflow_erp5_standard_workflow/state_start</string>
<string>source/portal_workflow/erp5_standard_workflow/1</string>
</tuple>
</value>
</item>
......@@ -36,36 +53,21 @@
<key> <string>configuration_after_script_id</string> </key>
<value> <string>BusinessConfiguration_afterConfiguration</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>erp5_standard_workflow</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Standard Configuratation provides a generic configuration of ERP5 for Small and Medium Business.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>workflow_erp5_standard_workflow</string> </value>
</item>
<item>
<key> <string>managed_permission_list</string> </key>
<value>
<tuple>
<string>Access contents information</string>
<string>View</string>
<string>Add portal content</string>
<string>Modify portal content</string>
</tuple>
</value>
<value> <string>erp5_standard_workflow</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow</string> </value>
<value> <string>Configuration Workflow</string> </value>
</item>
<item>
<key> <string>state_variable</string> </key>
<value> <string>validation_state</string> </value>
<key> <string>state_base_category</string> </key>
<value> <string>current_state</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_setup_standard_bt5</string>
<string>destination/portal_workflow/erp5_standard_workflow/19</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>start</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_start</string> </value>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,25 +10,21 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_erp5_preferences</string>
<string>destination/portal_workflow/erp5_standard_workflow/17</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>accounting</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Configure your accounting.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_accounting</string> </value>
<value> <string>10</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_user_accounts_number</string>
<string>destination/portal_workflow/erp5_standard_workflow/21</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>your_organisation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Configure your organisation.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_your_organisation</string> </value>
<value> <string>11</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Your Organisation</string> </value>
<value> <string>Your organisation</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_configure_accounting</string>
<string>destination/portal_workflow/erp5_standard_workflow/23</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>user_accounts_configuration</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Fill in detailled information for each ERP5 user. At end of configuration process each TioLive user will receive an email containing his username and password.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_user_accounts_configuration</string> </value>
<value> <string>12</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>User Accounts Configuration</string> </value>
<value> <string>User accounts configuration</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeeList</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/12</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>13</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure user accounts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,21 +2,25 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_organisation</string>
<string>BusinessConfiguration_displayDownload</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>your_roles_settings</string> </value>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/2</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -26,15 +30,15 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_your_roles_settings</string> </value>
<value> <string>14</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Your Roles Settings</string> </value>
<value> <string>Install</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPortalTypeRole</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/3</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>15</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Portal Type Role</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupCustomerBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/4</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>16</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup customer BT5</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPreferences</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/5</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>17</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure ERP5 Preferences</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupOrganisation</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/11</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>18</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Organisation</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupStandardBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/7</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>19</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup standard BT5</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,25 +10,21 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_finalize</string>
<string>destination/portal_workflow/erp5_standard_workflow/22</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>download</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Installation procedure may begin.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_download</string> </value>
<value> <string>2</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupStandardCategory</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/6</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>20</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Category</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeesNumber</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/8</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>21</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure user accounts number</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/9</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>22</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Finalize</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Configuration Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupAccounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/erp5_standard_workflow/10</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>23</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Configuration Transition</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure accounting</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_configure_organisation</string>
<string>destination/portal_workflow/erp5_standard_workflow/18</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>role</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_role</string> </value>
<value> <string>3</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_categories</string>
<string>destination/portal_workflow/erp5_standard_workflow/20</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>customer_bt</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_customer_bt</string> </value>
<value> <string>4</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_install</string>
<string>destination/portal_workflow/erp5_standard_workflow/14</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>application_preferences</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Define some global preferences for your ERP5 application.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_application_preferences</string> </value>
<value> <string>5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Application Preferences</string> </value>
<value> <string>Application preferences</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_setup_portal_type_role</string>
<string>destination/portal_workflow/erp5_standard_workflow/15</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>category</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_category</string> </value>
<value> <string>6</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,14 +10,10 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_setup_customer_bt5</string>
<string>destination/portal_workflow/erp5_standard_workflow/16</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>standard_bt5</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -26,11 +22,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_standard_bt5</string> </value>
<value> <string>7</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -2,7 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -10,29 +10,25 @@
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/transition_configure_user_accounts</string>
<string>destination/portal_workflow/erp5_standard_workflow/13</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>number_of_user_accounts</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Enter the number of user accounts you want to create. In your company, each person using ERP5 should have his own user account.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_number_of_user_accounts</string> </value>
<value> <string>8</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Number of User Accounts</string> </value>
<value> <string>Number of user accounts</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -2,14 +2,10 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
<global name="Configuration State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>end</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
......@@ -18,11 +14,11 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_end</string> </value>
<value> <string>9</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
<value> <string>Configuration State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -34,10 +34,6 @@
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>configuration_save_url</string> </value>
</item>
</dictionary>
</pickle>
</record>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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 will be called to apply the customization. """\n
from AccessControl import getSecurityManager\n
from Products.ERP5Type.Log import log\n
\n
portal = context.getPortalObject()\n
portal_preferences = portal.portal_preferences\n
business_template = context.getSpecialiseValue()\n
N_ = context.Base_translateString\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
\n
if business_template is not None:\n
# update role settings for modules which exists already\n
for portal_type in business_template.getTemplatePortalTypeRoleList():\n
module_list = portal.contentValues(\n
filter=dict(portal_type=portal_type))\n
for module in module_list:\n
module.updateLocalRolesOnSecurityGroups()\n
print "Updated Role Mappings for: %s(%s) " % (module.getTitle(), module.getPortalType())\n
\n
# validate and open all objects\n
for path in business_template.getTemplatePathList():\n
obj = portal.restrictedTraverse(path, None)\n
if obj is not None and hasattr(obj, \'getPortalType\'):\n
# XXX This hardcoded list is a bit inconvinient.\n
\n
if obj.getPortalType() not in (\'Category\', \'Base Category\',):\n
obj.updateLocalRolesOnSecurityGroups()\n
print "Updated Role Mappings for: ", path, obj.getPortalType()\n
\n
if obj.getPortalType() in (\'Person\', \'Organisation\'):\n
for period in obj.contentValues(filter={\'portal_type\':\'Accounting Period\'}):\n
period.updateLocalRolesOnSecurityGroups()\n
print "\\tOpen (Accounting Period): ", period.getRelativeUrl()\n
\n
for assignment in obj.contentValues(filter={\'portal_type\':\'Assignment\'}):\n
assignment.updateLocalRolesOnSecurityGroups()\n
print "\\tOpen (assignment): ", assignment.getRelativeUrl()\n
\n
for gadget in context.portal_gadgets.objectValues():\n
if gadget.getValidationState() == \'invisible\':\n
gadget.visible()\n
gadget.public()\n
\n
\n
\n
# update security settings for default preference # XXX why ???\n
default_configurator_preference = getattr(portal_preferences,\n
\'default_configurator_preference\', None)\n
if default_configurator_preference is not None:\n
default_configurator_preference.updateLocalRolesOnSecurityGroups()\n
\n
# set manually in \'Module Properties\' respective business_application category\n
# XXX This should be part of Configuration Item probably, but as access_tab is\n
# going to be deprecated, make sure it still requires set business application\n
# info modules.\n
module_business_application_map = {\'base\': (\'currency_module\',\n
\'organisation_module\',\n
\'person_module\',),\n
\'accounting\': (\'accounting_module\',\n
\'account_module\',),\n
\'crm\': (\'campaign_module\',\n
\'event_module\',\n
\'meeting_module\',\n
\'sale_opportunity_module\',\n
\'support_request_module\',),\n
\'dms\': (\'document_module\',\n
\'image_module\',\n
\'document_ingestion_module\',\n
\'web_page_module\',),\n
\'trade\': (\'internal_packing_list_module\',\n
\'inventory_module\',\n
\'purchase_order_module\',\n
\'purchase_packing_list_module\',\n
\'purchase_trade_condition_module\',\n
\'returned_sale_packing_list_module\',\n
\'sale_order_module\',\n
\'sale_packing_list_module\',\n
\'sale_trade_condition_module\'),\n
\'pdm\': (\'component_module\',\n
\'product_module\',\n
\'purchase_supply_module\',\n
\'sale_supply_module\',\n
\'service_module\',\n
\'transformation_module\',),\n
}\n
\n
for business_application_category_id, module_ids in module_business_application_map.items():\n
for module_id in module_ids:\n
module = getattr(portal, module_id, None)\n
if module is not None:\n
module.edit(business_application = business_application_category_id)\n
\n
print "Indexing translations"\n
portal.ERP5Site_updateTranslationTable()\n
\n
# clear cache so user security is recalculated\n
portal.portal_caches.clearAllCache()\n
print "Clear cache."\n
\n
log("%s" % printed)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_afterConfiguration</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>After Configuration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.setGlobalConfigurationAttr(\n
categories_spreadsheet_configuration_save_relative_url=configuration_save.getRelativeUrl())\n
\n
configuration_save.addConfigurationItem("Categories Spreadsheet Configurator Item",\n
configuration_spreadsheet_file=configuration_spreadsheet)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url, configuration_spreadsheet, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_configureCategories</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Categories</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
company_email = kw[\'default_email_text\']\n
group = kw[\'group\']\n
\n
organisation_configurator_item = configuration_save.addConfigurationItem(\n
"Organisation Configurator Item", **kw)\n
\n
# store globally preferred group\n
context.setGlobalConfigurationAttr(group_id=group)\n
\n
# store globally company\'s email\n
context.setGlobalConfigurationAttr(company_email=company_email)\n
\n
# store globally company\'s configurator item which we can use later to reconfigure\n
context.setGlobalConfigurationAttr(organisation_configurator_item=organisation_configurator_item.getRelativeUrl())\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_configureConsultingOrganisation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Organisation</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.BusinessConfiguration_setupSimulation(configuration_save_url, **kw)\n
\n
# Catalog Keyword Search Keys are for now hardcoded.\n
configuration_save.addConfigurationItem("Catalog Keyword Key Configurator Item",\n
key_list=(\'description\', \'title\', \'catalog.description\', \'catalog.title\'))\n
\n
# This could be a customer decision option\n
# configuration_save.addConfigurationItem("Site Property Configurator Item",\n
# site_property_list=[[[\'email_from_address\', \'email@example.com\', \'string\'],]])\n
\n
# Customize portal type information.\n
# Include Constraints to some Simulation Objects\n
for portal_type in [\'Purchase Order\', \'Sale Order\']:\n
configuration_save.addConfigurationItem("Portal Type Configurator Item",\n
target_portal_type=portal_type,\n
add_propertysheet_list=(\'TradeOrder\',))\n
\n
for portal_type in [\'Purchase Order Line\', \'Sale Order Line\',\'Sale Packing List Line\']:\n
configuration_save.addConfigurationItem("Portal Type Configurator Item",\n
target_portal_type=portal_type,\n
add_propertysheet_list=(\'TradeOrderLine\',))\n
\n
configuration_save.addConfigurationItem("Portal Type Configurator Item",\n
target_portal_type=\'Inventory\',\n
add_propertysheet_list=(\'InventoryConstraint\',))\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_displayDownload</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Display Downliad</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
gap_info_list = context.BusinessConfiguration_getAvailableGAPList()\n
selected_gap_info = None\n
for gap_info in gap_info_list:\n
if gap_info[\'id\'] == accounting_plan:\n
selected_gap_info = gap_info\n
\n
assert selected_gap_info is not None\n
\n
## install accounting bt5 template based on selected accounting plan\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
bt5_id=selected_gap_info[\'bt5\'])\n
\n
group_id = context.getGlobalConfigurationAttr(\'group_id\')\n
if group_id is None:\n
# if group_id is not found, use \'group\'\n
group_id = context.getGlobalConfigurationAttr(\'group\')\n
\n
accounting_transaction_simulation_state_list = \'delivered stopped\' # XXX is it OK not to pass a list ?\n
\n
gap_account_map = context.BusinessConfiguration_getDefaultAccountList()\n
\n
for item in gap_account_map[accounting_plan]:\n
configuration_save.addConfigurationItem("Account Configurator Item", **item)\n
\n
## Configure accounting preferences\n
configuration_save.addConfigurationItem(\n
\'Preference Configurator Item\',\n
object_id = \'default_configurator_preference\',\n
preferred_accounting_transaction_from_date = None,\n
preferred_accounting_transaction_at_date = None,\n
preferred_section_category = \'group/%s\' % group_id,\n
preferred_accounting_transaction_section_category = \'group/%s\' % group_id,\n
preferred_accounting_transaction_gap = selected_gap_info[\'root\'],\n
preferred_accounting_transaction_simulation_state_list\n
= accounting_transaction_simulation_state_list)\n
\n
## Configure accounting period\n
configuration_save.addConfigurationItem("Accounting Period Configurator Item",\n
start_date=period_start_date,\n
stop_date=period_stop_date,\n
short_title=period_title)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, accounting_plan=\'\', period_start_date=None, period_stop_date=None, period_title=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupAccounting</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Accounting</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
configuration_save.addConfigurationItem("Customer BT5 Configurator Item", \n
bt5_title=\'_\'.join(context.getTitle().strip().lower().split()))\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Create a bt5 template that will contain customer configuration.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupCustomerBT5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Customer BT5</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save_url = kw.get(\'configuration_save_url\', None)\n
configuration_save = context.restrictedTraverse(configuration_save_url)\n
organisation_id = context.getGlobalConfigurationAttr(\'organisation_id\')\n
group_id = context.getGlobalConfigurationAttr(\'group_id\')\n
\n
company_employees_number = context.getGlobalConfigurationAttr(\'company_employees_number\')\n
\n
## get only form keys\n
form_keys = [i for i in kw.keys() if i.startswith(\'field_your_\') \\\n
and i not in [\'field_your_search_text\', \'field_your_business_configuration\']]\n
\n
if company_employees_number==1:\n
# only one employee\n
for key in (\'configuration_save_url\', \'transition\', \'client_id\', \'password_confirm\'):\n
kw.pop(key, None)\n
function = kw.pop(\'function\', None)\n
configuration_save.addConfigurationItem("Person Configurator Item", \n
organisation_id = organisation_id,\n
function = function,\n
group_id = group_id,\n
**kw)\n
else:\n
# many employees\n
for employee_counter in range(0, company_employees_number):\n
employee_kw = {}\n
for key in form_keys:\n
new_key = key.replace("field_your_", "")\n
employee_kw[new_key] = kw[key][employee_counter]\n
# add an emlpoyee\n
function = employee_kw.pop(\'function\', None)\n
employee_kw.pop(\'password_confirm\', None)\n
configuration_save.addConfigurationItem("Person Configurator Item", \n
organisation_id = organisation_id,\n
function = function,\n
group_id = group_id,\n
**employee_kw)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupEmployeeList</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup company employees</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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 encoding="cdata"><![CDATA[
configuration_save_url = kw.get(\'configuration_save_url\', None)\n
company_employees_number = kw.get(\'company_employees_number\', 1)\n
next_transition = context.getNextTransition().getRelativeUrl()\n
\n
if company_employees_number>1:\n
# mark next transition as multiple\n
context.setMultiEntryTransition(next_transition, company_employees_number)\n
else:\n
# explicitly reset next transition as not multiple because \n
# we may have already set it as multiple\n
context.setMultiEntryTransition(next_transition, 0)\n
\n
# store globally \n
context.setGlobalConfigurationAttr(company_employees_number=company_employees_number)\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupEmployeesNumber</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Employees Numbers</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.setGlobalConfigurationAttr(\n
portal_type_roles_spreadsheet_configuration_save_relative_url=configuration_save.getRelativeUrl())\n
\n
configuration_save.addConfigurationItem("Portal Type Roles Spreadsheet Configurator Item",\n
configuration_spreadsheet_data = getattr(context, "standard_portal_types_roles.ods").data)\n
\n
\n
# Define standard module security. also.\n
configuration_save.addConfigurationItem("Permission Configurator Item",\n
filename="standard_module_permission_access.ods")\n
\n
\n
# Create ERP5Site_getSecurityCategoryMapping\n
configuration_save.addConfigurationItem("Security Category Mapping Configurator Item")\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupPortalTypeRole</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Portal Type Role</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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 encoding="cdata"><![CDATA[
configuration_save_url = kw.get(\'configuration_save_url\', None)\n
preferred_event_sender_email = kw.get(\'preferred_event_sender_email\', \'\')\n
preferred_date_order = kw.get(\'preferred_date_order\', None)\n
preferred_language_list = kw.get(\'lang\', [])\n
\n
configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
# if preferred email is not specified used previously saved company email.\n
company_email = context.getGlobalConfigurationAttr(\'company_email\')\n
if preferred_event_sender_email in (\'\', None,):\n
preferred_event_sender_email = company_email\n
\n
# price currency contains all currency info like iso code& precision \';\'\n
# separated\n
currency_info = kw[\'price_currency\']\n
currency_reference, currency_base_unit_quantity, currency_title = \\\n
currency_info.split(\';\')\n
configuration_save.addConfigurationItem(\n
"Currency Configurator Item",\n
reference = currency_reference,\n
base_unit_quantity = currency_base_unit_quantity,\n
title = currency_title,)\n
context.setGlobalConfigurationAttr(default_currency=currency_reference)\n
\n
# adjust price_currency for organisation configuration item\n
organisation_configurator_item = context.getGlobalConfigurationAttr(\n
\'organisation_configurator_item\')\n
organisation_configurator_item_obj = context.restrictedTraverse(\n
organisation_configurator_item, None)\n
organisation_configurator_item_obj.setPriceCurrency(currency_reference)\n
\n
# CRM\n
# Create services used in crm preference.\n
# XXX I think here is not a good place.(yusei)\n
service_list = (\n
# sale opportunity\n
(\'product\', dict(title=\'Product\', use=\'crm/sale_opportunity\', )),\n
(\'service\', dict(title=\'Service\', use=\'crm/sale_opportunity\', )),\n
# campaign\n
(\'marketing_campaign\', dict(title=\'Marketing Campaign\', use=\'crm/campaign\', )),\n
(\'marketing_survey\', dict(title=\'Market Survey\', use=\'crm/campaign\', )),\n
(\'marketing_purchases\', dict(title=\'Purchases Campaign\', use=\'crm/campaign\', )),\n
(\'marketing_sales\', dict(title=\'Sales Campaign\', use=\'crm/campaign\', )),\n
(\'marketing_other\', dict(title=\'Other Marketing Service\', use=\'crm/campaign\', )),\n
# support request\n
(\'support_administrative\', dict(title=\'Administrative Support\', use=\'crm/support_request\', )),\n
(\'support_financial\', dict(title=\'Financial Support\', use=\'crm/support_request\', )),\n
(\'support_it\', dict(title=\'IT Support\', use=\'crm/support_request\', )),\n
(\'support_other\', dict(title=\'Other Support Service\', use=\'crm/support_request\', )),\n
# meeting\n
(\'organisation_conference\', dict(title=\'Conference\', use=\'crm/meeting\', )),\n
(\'organisation_partnership\', dict(title=\'Partnership Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_purchases\', dict(title=\'Purchases Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_project\', dict(title=\'Project Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_sales\', dict(title=\'Sales Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_other\', dict(title=\'Other Meeting\', use=\'crm/meeting\', )),\n
# event\n
(\'event_complaint\', dict(title=\'Complaint\', use=\'crm/event\', )),\n
(\'event_announcement\', dict(title=\'Announcement\', use=\'crm/event\', )),\n
(\'event_inquiry\', dict(title=\'Inquiry\', use=\'crm/event\', )),\n
(\'event_advertisement\', dict(title=\'Advertisement\', use=\'crm/event\', )),\n
(\'event_spam\', dict(title=\'Spam\', use=\'crm/event\', )),\n
(\'event_information\', dict(title=\'Information\', use=\'crm/event\', )),\n
(\'event_other\', dict(title=\'Other event\', use=\'crm/event\', )),\n
)\n
configuration_save.addConfigurationItem("Service Configurator Item",\n
configuration_list=service_list)\n
\n
# configure preferences\n
prefs = dict(\n
# UI\n
preferred_category_child_item_list_method_id =\n
\'getCategoryChildTranslatedLogicalPathItemList\',\n
preferred_text_format = \'text/html\',\n
preferred_text_editor = \'fck_editor\',\n
preferred_date_order = preferred_date_order,\n
preferred_listbox_view_mode_line_count = 20,\n
preferred_listbox_list_mode_line_count = 20,\n
preferred_string_field_width = 30,\n
preferred_textarea_width = 80,\n
preferred_textarea_height = 5,\n
preferred_report_style = \'ODT\',\n
preferred_report_format = \'pdf\',\n
preferred_money_quantity_field_width = 10, # TODO: adapt this\n
# based on the selected\n
# currency, XOF needs\n
# more than 10 for\n
# example\n
preferred_html_style_access_tab = 1,\n
preferred_quantity_field_width = 8,\n
# accounting\n
preferred_accounting_transaction_currency = \'currency_module/%s\' % \\\n
currency_reference,\n
)\n
\n
configuration_save.addConfigurationItem(\n
\'Preference Configurator Item\',\n
object_id = \'default_configurator_preference\',\n
description = "The default parameters for the site are set on this "\n
"preference",\n
title = "Default Configurator Site Preference",\n
**prefs)\n
\n
# configure system preferences\n
# some preparation\n
system_prefs = dict(\n
# CRM\n
preferred_campaign_use_list = [\'use/crm/campaign\'],\n
preferred_event_use_list = [\'use/crm/event\'],\n
preferred_meeting_use_list = [\'use/crm/meeting\'],\n
preferred_sale_opportunity_use_list = [\'use/crm/sale_opportunity\'],\n
preferred_support_request_use_list = [\'use/crm/support_request\'],\n
preferred_event_sender_email = preferred_event_sender_email,\n
preferred_event_assessment_form_id_list = [],\n
# DMS\n
# XXX-Luke: (proposal) Allow to define, maybe use some magic of\n
# representation\n
preferred_document_file_name_regular_expression = \\\n
\'(?P<node_reference>[a-zA-Z0-9_-]+)-(?P<local_reference>[a-zA-Z0-9_.]+)\'\n
\'-(?P<version>[0-9a-zA-Z.]+)-(?P<language>[a-z]{2})[^-]*?\',\n
preferred_document_reference_regular_expression = \'(?P<reference>[a-zA-Z0-9\'\n
\'-_.]+-[a-zA-Z0-9-_.]+)(|-(?P<version>[0-9a-zA-Z.]+))(|-(?P<language>[a\'\n
\'-z]{2})[^-]*)?\',\n
preferred_document_classification = \'collaborative/team\',\n
preferred_synchronous_metadata_discovery = True,\n
preferred_redirect_to_document = True,\n
# PDM\n
preferred_product_individual_variation_base_category_list = [\'variation\'],\n
preferred_component_individual_variation_base_category_list = [\'variation\'],\n
preferred_service_individual_variation_base_category_list = [\'variation\'],\n
# trade\n
preferred_supplier_role_list = [\'role/supplier\'],\n
preferred_client_role_list = [\'role/client\'],\n
preferred_sale_use_list = [\'use/trade/sale\'],\n
preferred_purchase_use_list = [\'use/trade/purchase\'],\n
preferred_packing_use_list = [\'use/trade/container\'],\n
preferred_tax_use_list=[\'use/trade/tax\'],\n
preferred_price_ratio_use_list=[\'use/trade/tax\'])\n
\n
configuration_save.addConfigurationItem(\n
\'System Preference Configurator Item\',\n
object_id = \'default_configurator_system_preference\',\n
description="The default system parameters for the site are set on this "\\\n
"preference",\n
title="Default Configurator System Site Preference",\n
**system_prefs)\n
\n
# preferred_languages\n
for bt5_id in preferred_language_list:\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
bt5_id=bt5_id)\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupPreferences</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure global ERP5 preferences</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
bt5_installation_list = (\'erp5_dhtml_style\',\n
\'erp5_jquery_ui\',\n
\'erp5_ingestion_mysql_innodb_catalog\',\n
\'erp5_dms\',\n
\'erp5_accounting\',\n
\'erp5_crm\',\n
\'erp5_simplified_invoicing\',\n
\'erp5_trade_knowledge_pad\',\n
\'erp5_crm_knowledge_pad\',\n
\'erp5_configurator_standard_solver\',\n
\'erp5_configurator_standard_trade_template\',\n
\'erp5_configurator_standard_accounting_template\',\n
\'erp5_configurator_standard_invoicing_template\',\n
\'erp5_ods_style\',\n
\'erp5_odt_style\',\n
\'erp5_ooo_import\',\n
)\n
\n
bt5_update_catalog = (\'erp5_ingestion_mysql_innodb_catalog\', \'erp5_accounting\', )\n
\n
for name in bt5_installation_list:\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
title=name, bt5_id=name,\n
update_catalog=(name in bt5_update_catalog),\n
install_dependency=True,\n
)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupStandardBT5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup standard ERP5 business templates</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.setGlobalConfigurationAttr(\n
categories_spreadsheet_configuration_save_relative_url=configuration_save.getRelativeUrl())\n
\n
configuration_save.addConfigurationItem("Categories Spreadsheet Configurator Item",\n
configuration_spreadsheet_data = getattr(context, "standard_category.ods").data)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupStandardCategory</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Standard Category</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="State" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/transition_configure_accounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>user_accounts_configuration</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Fill in detailled information for each ERP5 user. At end of configuration process each TioLive user will receive an email containing his username and password.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>state_user_accounts_configuration</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>State</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>User Accounts Configuration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupAccounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_accounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_accounting</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_accounting</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Accounting</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_configureCategories</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_your_categories</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_categories</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_categories</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Categories</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPreferences</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_application_preferences</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_erp5_preferences</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_erp5_preferences</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure ERP5 Preferences</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupOrganisation</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_your_organisation</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_organisation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_organisation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Organisation</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPortalTypeRole</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_your_roles_settings</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_roles</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_roles</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Roles</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeeList</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_user_accounts_configuration</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_user_accounts</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_user_accounts</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure User Accounts</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeesNumber</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_number_of_user_accounts</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_user_accounts_number</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_user_accounts_number</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure User Accounts Number</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_end</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>finalize</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_finalize</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Finalize</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_displayDownload</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_download</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>install</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_install</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Install</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupCustomerBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_customer_bt</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>setup_customer_bt5</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_setup_customer_bt5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Customer BT5</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupStandardBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_consulting_workflow/state_standard_bt5</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>setup_standard_bt5</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_setup_standard_bt5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Standard BT5</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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 will be called to apply the customization. """\n
from AccessControl import getSecurityManager\n
from Products.ERP5Type.Log import log\n
\n
portal = context.getPortalObject()\n
portal_preferences = portal.portal_preferences\n
business_template = context.getSpecialiseValue()\n
N_ = context.Base_translateString\n
isTransitionPossible = portal.portal_workflow.isTransitionPossible\n
\n
if business_template is not None:\n
# update role settings for modules which exists already\n
for portal_type in business_template.getTemplatePortalTypeRoleList():\n
module_list = portal.contentValues(\n
filter=dict(portal_type=portal_type))\n
for module in module_list:\n
module.updateLocalRolesOnSecurityGroups()\n
print "Updated Role Mappings for: %s(%s) " % (module.getTitle(), module.getPortalType())\n
\n
# validate and open all objects\n
for path in business_template.getTemplatePathList():\n
obj = portal.restrictedTraverse(path, None)\n
if obj is not None and hasattr(obj, \'getPortalType\'):\n
# XXX This hardcoded list is a bit inconvinient.\n
\n
if obj.getPortalType() not in (\'Category\', \'Base Category\',):\n
obj.updateLocalRolesOnSecurityGroups()\n
print "Updated Role Mappings for: ", path, obj.getPortalType()\n
\n
if obj.getPortalType() in (\'Person\', \'Organisation\'):\n
for period in obj.contentValues(filter={\'portal_type\':\'Accounting Period\'}):\n
period.updateLocalRolesOnSecurityGroups()\n
print "\\tOpen (Accounting Period): ", period.getRelativeUrl()\n
\n
for assignment in obj.contentValues(filter={\'portal_type\':\'Assignment\'}):\n
assignment.updateLocalRolesOnSecurityGroups()\n
print "\\tOpen (assignment): ", assignment.getRelativeUrl()\n
\n
for gadget in context.portal_gadgets.objectValues():\n
if gadget.getValidationState() == \'invisible\':\n
gadget.visible()\n
gadget.public()\n
\n
\n
\n
# update security settings for default preference # XXX why ???\n
default_configurator_preference = getattr(portal_preferences,\n
\'default_configurator_preference\', None)\n
if default_configurator_preference is not None:\n
default_configurator_preference.updateLocalRolesOnSecurityGroups()\n
\n
# set manually in \'Module Properties\' respective business_application category\n
# XXX This should be part of Configuration Item probably, but as access_tab is\n
# going to be deprecated, make sure it still requires set business application\n
# info modules.\n
module_business_application_map = {\'base\': (\'currency_module\',\n
\'organisation_module\',\n
\'person_module\',),\n
\'accounting\': (\'accounting_module\',\n
\'account_module\',),\n
\'crm\': (\'campaign_module\',\n
\'event_module\',\n
\'meeting_module\',\n
\'sale_opportunity_module\',\n
\'support_request_module\',),\n
\'dms\': (\'document_module\',\n
\'image_module\',\n
\'document_ingestion_module\',\n
\'web_page_module\',),\n
\'trade\': (\'internal_packing_list_module\',\n
\'inventory_module\',\n
\'purchase_order_module\',\n
\'purchase_packing_list_module\',\n
\'purchase_trade_condition_module\',\n
\'returned_sale_packing_list_module\',\n
\'sale_order_module\',\n
\'sale_packing_list_module\',\n
\'sale_trade_condition_module\'),\n
\'pdm\': (\'component_module\',\n
\'product_module\',\n
\'purchase_supply_module\',\n
\'sale_supply_module\',\n
\'service_module\',\n
\'transformation_module\',),\n
}\n
\n
for business_application_category_id, module_ids in module_business_application_map.items():\n
for module_id in module_ids:\n
module = getattr(portal, module_id, None)\n
if module is not None:\n
module.edit(business_application = business_application_category_id)\n
\n
print "Indexing translations"\n
portal.ERP5Site_updateTranslationTable()\n
\n
# clear cache so user security is recalculated\n
portal.portal_caches.clearAllCache()\n
print "Clear cache."\n
\n
log("%s" % printed)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_afterConfiguration</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>After Configuration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.BusinessConfiguration_setupSimulation(configuration_save_url, **kw)\n
\n
# Catalog Keyword Search Keys are for now hardcoded.\n
configuration_save.addConfigurationItem("Catalog Keyword Key Configurator Item",\n
key_list=(\'description\', \'title\', \'catalog.description\', \'catalog.title\'))\n
\n
# This could be a customer decision option\n
# configuration_save.addConfigurationItem("Site Property Configurator Item",\n
# site_property_list=[[[\'email_from_address\', \'email@example.com\', \'string\'],]])\n
\n
# Customize portal type information.\n
# Include Constraints to some Simulation Objects\n
for portal_type in [\'Purchase Order\', \'Sale Order\']:\n
configuration_save.addConfigurationItem("Portal Type Configurator Item",\n
target_portal_type=portal_type,\n
add_propertysheet_list=(\'TradeOrder\',))\n
\n
for portal_type in [\'Purchase Order Line\', \'Sale Order Line\',\'Sale Packing List Line\']:\n
configuration_save.addConfigurationItem("Portal Type Configurator Item",\n
target_portal_type=portal_type,\n
add_propertysheet_list=(\'TradeOrderLine\',))\n
\n
configuration_save.addConfigurationItem("Portal Type Configurator Item",\n
target_portal_type=\'Inventory\',\n
add_propertysheet_list=(\'InventoryConstraint\',))\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_displayDownload</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Display Downliad</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
gap_info_list = context.BusinessConfiguration_getAvailableGAPList()\n
selected_gap_info = None\n
for gap_info in gap_info_list:\n
if gap_info[\'id\'] == accounting_plan:\n
selected_gap_info = gap_info\n
\n
assert selected_gap_info is not None\n
\n
## install accounting bt5 template based on selected accounting plan\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
bt5_id=selected_gap_info[\'bt5\'])\n
\n
group_id = context.getGlobalConfigurationAttr(\'group_id\')\n
if group_id is None:\n
# if group_id is not found, use \'group\'\n
group_id = context.getGlobalConfigurationAttr(\'group\')\n
\n
accounting_transaction_simulation_state_list = \'delivered stopped\' # XXX is it OK not to pass a list ?\n
\n
gap_account_map = context.BusinessConfiguration_getDefaultAccountList()\n
\n
for item in gap_account_map[accounting_plan]:\n
configuration_save.addConfigurationItem("Account Configurator Item", **item)\n
\n
## Configure accounting preferences\n
configuration_save.addConfigurationItem(\n
\'Preference Configurator Item\',\n
object_id = \'default_configurator_preference\',\n
preferred_accounting_transaction_from_date = None,\n
preferred_accounting_transaction_at_date = None,\n
preferred_section_category = \'group/%s\' % group_id,\n
preferred_accounting_transaction_section_category = \'group/%s\' % group_id,\n
preferred_accounting_transaction_gap = selected_gap_info[\'root\'],\n
preferred_accounting_transaction_simulation_state_list\n
= accounting_transaction_simulation_state_list)\n
\n
## Configure accounting period\n
configuration_save.addConfigurationItem("Accounting Period Configurator Item",\n
start_date=period_start_date,\n
stop_date=period_stop_date,\n
short_title=period_title)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, accounting_plan=\'\', period_start_date=None, period_stop_date=None, period_title=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupAccounting</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Accounting</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
configuration_save.addConfigurationItem("Customer BT5 Configurator Item", \n
bt5_title=\'_\'.join(context.getTitle().strip().lower().split()))\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Create a bt5 template that will contain customer configuration.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupCustomerBT5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Customer BT5</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save_url = kw.get(\'configuration_save_url\', None)\n
configuration_save = context.restrictedTraverse(configuration_save_url)\n
organisation_id = context.getGlobalConfigurationAttr(\'organisation_id\')\n
group_id = context.getGlobalConfigurationAttr(\'group_id\')\n
\n
company_employees_number = context.getGlobalConfigurationAttr(\'company_employees_number\')\n
\n
## get only form keys\n
form_keys = [i for i in kw.keys() if i.startswith(\'field_your_\') \\\n
and i not in [\'field_your_search_text\', \'field_your_business_configuration\']]\n
\n
if company_employees_number==1:\n
# only one employee\n
for key in (\'configuration_save_url\', \'transition\', \'client_id\', \'password_confirm\'):\n
kw.pop(key, None)\n
function = kw.pop(\'function\', None)\n
configuration_save.addConfigurationItem("Person Configurator Item", \n
organisation_id = organisation_id,\n
function = function,\n
group_id = group_id,\n
**kw)\n
else:\n
# many employees\n
for employee_counter in range(0, company_employees_number):\n
employee_kw = {}\n
for key in form_keys:\n
new_key = key.replace("field_your_", "")\n
employee_kw[new_key] = kw[key][employee_counter]\n
# add an emlpoyee\n
function = employee_kw.pop(\'function\', None)\n
employee_kw.pop(\'password_confirm\', None)\n
configuration_save.addConfigurationItem("Person Configurator Item", \n
organisation_id = organisation_id,\n
function = function,\n
group_id = group_id,\n
**employee_kw)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupEmployeeList</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup company employees</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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 encoding="cdata"><![CDATA[
configuration_save_url = kw.get(\'configuration_save_url\', None)\n
company_employees_number = kw.get(\'company_employees_number\', 1)\n
next_transition = context.getNextTransition().getRelativeUrl()\n
\n
if company_employees_number>1:\n
# mark next transition as multiple\n
context.setMultiEntryTransition(next_transition, company_employees_number)\n
else:\n
# explicitly reset next transition as not multiple because \n
# we may have already set it as multiple\n
context.setMultiEntryTransition(next_transition, 0)\n
\n
# store globally \n
context.setGlobalConfigurationAttr(company_employees_number=company_employees_number)\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupEmployeesNumber</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Employees Numbers</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
company_email = kw[\'default_email_text\']\n
\n
# create under \'portal_categories/group\' a new category using company title\n
group_id = \'my_group\' #\'_\'.join(kw[\'title\'].split(\' \'))[:20]\n
\n
organisation_configurator_item = configuration_save.addConfigurationItem(\n
"Organisation Configurator Item",\n
group=group_id,\n
site=\'main\',\n
**kw)\n
\n
configuration_save.addConfigurationItem("Category Configurator Item",\n
category_root=\'group\',\n
object_id=group_id,\n
title=kw[\'title\'])\n
\n
# store globally group_id \n
context.setGlobalConfigurationAttr(group_id=group_id)\n
\n
# store globally company\'s email\n
context.setGlobalConfigurationAttr(company_email=company_email)\n
\n
# store globally company\'s configurator item which we can use later to reconfigure\n
context.setGlobalConfigurationAttr(\n
organisation_configurator_item=\n
organisation_configurator_item.getRelativeUrl())\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupOrganisation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setuo Organisation</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.setGlobalConfigurationAttr(\n
portal_type_roles_spreadsheet_configuration_save_relative_url=configuration_save.getRelativeUrl())\n
\n
configuration_save.addConfigurationItem("Portal Type Roles Spreadsheet Configurator Item",\n
configuration_spreadsheet_data = getattr(context, "standard_portal_types_roles.ods").data)\n
\n
\n
# Define standard module security. also.\n
configuration_save.addConfigurationItem("Permission Configurator Item",\n
filename="standard_module_permission_access.ods")\n
\n
\n
# Create ERP5Site_getSecurityCategoryMapping\n
configuration_save.addConfigurationItem("Security Category Mapping Configurator Item")\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupPortalTypeRole</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Portal Type Role</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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 encoding="cdata"><![CDATA[
configuration_save_url = kw.get(\'configuration_save_url\', None)\n
preferred_event_sender_email = kw.get(\'preferred_event_sender_email\', \'\')\n
preferred_date_order = kw.get(\'preferred_date_order\', None)\n
preferred_language_list = kw.get(\'lang\', [])\n
\n
configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
# if preferred email is not specified used previously saved company email.\n
company_email = context.getGlobalConfigurationAttr(\'company_email\')\n
if preferred_event_sender_email in (\'\', None,):\n
preferred_event_sender_email = company_email\n
\n
# price currency contains all currency info like iso code& precision \';\'\n
# separated\n
currency_info = kw[\'price_currency\']\n
currency_reference, currency_base_unit_quantity, currency_title = \\\n
currency_info.split(\';\')\n
configuration_save.addConfigurationItem(\n
"Currency Configurator Item",\n
reference = currency_reference,\n
base_unit_quantity = currency_base_unit_quantity,\n
title = currency_title,)\n
context.setGlobalConfigurationAttr(default_currency=currency_reference)\n
\n
# adjust price_currency for organisation configuration item\n
organisation_configurator_item = context.getGlobalConfigurationAttr(\n
\'organisation_configurator_item\')\n
organisation_configurator_item_obj = context.restrictedTraverse(\n
organisation_configurator_item, None)\n
organisation_configurator_item_obj.setPriceCurrency(currency_reference)\n
\n
# CRM\n
# Create services used in crm preference.\n
# XXX I think here is not a good place.(yusei)\n
service_list = (\n
# sale opportunity\n
(\'product\', dict(title=\'Product\', use=\'crm/sale_opportunity\', )),\n
(\'service\', dict(title=\'Service\', use=\'crm/sale_opportunity\', )),\n
# campaign\n
(\'marketing_campaign\', dict(title=\'Marketing Campaign\', use=\'crm/campaign\', )),\n
(\'marketing_survey\', dict(title=\'Market Survey\', use=\'crm/campaign\', )),\n
(\'marketing_purchases\', dict(title=\'Purchases Campaign\', use=\'crm/campaign\', )),\n
(\'marketing_sales\', dict(title=\'Sales Campaign\', use=\'crm/campaign\', )),\n
(\'marketing_other\', dict(title=\'Other Marketing Service\', use=\'crm/campaign\', )),\n
# support request\n
(\'support_administrative\', dict(title=\'Administrative Support\', use=\'crm/support_request\', )),\n
(\'support_financial\', dict(title=\'Financial Support\', use=\'crm/support_request\', )),\n
(\'support_it\', dict(title=\'IT Support\', use=\'crm/support_request\', )),\n
(\'support_other\', dict(title=\'Other Support Service\', use=\'crm/support_request\', )),\n
# meeting\n
(\'organisation_conference\', dict(title=\'Conference\', use=\'crm/meeting\', )),\n
(\'organisation_partnership\', dict(title=\'Partnership Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_purchases\', dict(title=\'Purchases Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_project\', dict(title=\'Project Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_sales\', dict(title=\'Sales Meeting\', use=\'crm/meeting\', )),\n
(\'organisation_other\', dict(title=\'Other Meeting\', use=\'crm/meeting\', )),\n
# event\n
(\'event_complaint\', dict(title=\'Complaint\', use=\'crm/event\', )),\n
(\'event_announcement\', dict(title=\'Announcement\', use=\'crm/event\', )),\n
(\'event_inquiry\', dict(title=\'Inquiry\', use=\'crm/event\', )),\n
(\'event_advertisement\', dict(title=\'Advertisement\', use=\'crm/event\', )),\n
(\'event_spam\', dict(title=\'Spam\', use=\'crm/event\', )),\n
(\'event_information\', dict(title=\'Information\', use=\'crm/event\', )),\n
(\'event_other\', dict(title=\'Other event\', use=\'crm/event\', )),\n
)\n
configuration_save.addConfigurationItem("Service Configurator Item",\n
configuration_list=service_list)\n
\n
# configure preferences\n
prefs = dict(\n
# UI\n
preferred_category_child_item_list_method_id =\n
\'getCategoryChildTranslatedLogicalPathItemList\',\n
preferred_text_format = \'text/html\',\n
preferred_text_editor = \'fck_editor\',\n
preferred_date_order = preferred_date_order,\n
preferred_listbox_view_mode_line_count = 20,\n
preferred_listbox_list_mode_line_count = 20,\n
preferred_string_field_width = 30,\n
preferred_textarea_width = 80,\n
preferred_textarea_height = 5,\n
preferred_report_style = \'ODT\',\n
preferred_report_format = \'pdf\',\n
preferred_money_quantity_field_width = 10, # TODO: adapt this\n
# based on the selected\n
# currency, XOF needs\n
# more than 10 for\n
# example\n
preferred_html_style_access_tab = 1,\n
preferred_quantity_field_width = 8,\n
# accounting\n
preferred_accounting_transaction_currency = \'currency_module/%s\' % \\\n
currency_reference,\n
)\n
\n
configuration_save.addConfigurationItem(\n
\'Preference Configurator Item\',\n
object_id = \'default_configurator_preference\',\n
description = "The default parameters for the site are set on this "\n
"preference",\n
title = "Default Configurator Site Preference",\n
**prefs)\n
\n
# configure system preferences\n
# some preparation\n
system_prefs = dict(\n
# CRM\n
preferred_campaign_use_list = [\'use/crm/campaign\'],\n
preferred_event_use_list = [\'use/crm/event\'],\n
preferred_meeting_use_list = [\'use/crm/meeting\'],\n
preferred_sale_opportunity_use_list = [\'use/crm/sale_opportunity\'],\n
preferred_support_request_use_list = [\'use/crm/support_request\'],\n
preferred_event_sender_email = preferred_event_sender_email,\n
preferred_event_assessment_form_id_list = [],\n
# DMS\n
# XXX-Luke: (proposal) Allow to define, maybe use some magic of\n
# representation\n
preferred_document_file_name_regular_expression = \\\n
\'(?P<node_reference>[a-zA-Z0-9_-]+)-(?P<local_reference>[a-zA-Z0-9_.]+)\'\n
\'-(?P<version>[0-9a-zA-Z.]+)-(?P<language>[a-z]{2})[^-]*?\',\n
preferred_document_reference_regular_expression = \'(?P<reference>[a-zA-Z0-9\'\n
\'-_.]+-[a-zA-Z0-9-_.]+)(|-(?P<version>[0-9a-zA-Z.]+))(|-(?P<language>[a\'\n
\'-z]{2})[^-]*)?\',\n
preferred_document_classification = \'collaborative/team\',\n
preferred_synchronous_metadata_discovery = True,\n
preferred_redirect_to_document = True,\n
# PDM\n
preferred_product_individual_variation_base_category_list = [\'variation\'],\n
preferred_component_individual_variation_base_category_list = [\'variation\'],\n
preferred_service_individual_variation_base_category_list = [\'variation\'],\n
# trade\n
preferred_supplier_role_list = [\'role/supplier\'],\n
preferred_client_role_list = [\'role/client\'],\n
preferred_sale_use_list = [\'use/trade/sale\'],\n
preferred_purchase_use_list = [\'use/trade/purchase\'],\n
preferred_packing_use_list = [\'use/trade/container\'],\n
preferred_tax_use_list=[\'use/trade/tax\'],\n
preferred_price_ratio_use_list=[\'use/trade/tax\'])\n
\n
configuration_save.addConfigurationItem(\n
\'System Preference Configurator Item\',\n
object_id = \'default_configurator_system_preference\',\n
description="The default system parameters for the site are set on this "\\\n
"preference",\n
title="Default Configurator System Site Preference",\n
**system_prefs)\n
\n
# preferred_languages\n
for bt5_id in preferred_language_list:\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
bt5_id=bt5_id)\n
]]></string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupPreferences</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure global ERP5 preferences</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
bt5_installation_list = (\'erp5_dhtml_style\',\n
\'erp5_jquery_ui\',\n
\'erp5_ingestion_mysql_innodb_catalog\',\n
\'erp5_dms\',\n
\'erp5_accounting\',\n
\'erp5_crm\',\n
\'erp5_simplified_invoicing\',\n
\'erp5_trade_knowledge_pad\',\n
\'erp5_crm_knowledge_pad\',\n
\'erp5_configurator_standard_solver\',\n
\'erp5_configurator_standard_trade_template\',\n
\'erp5_configurator_standard_accounting_template\',\n
\'erp5_configurator_standard_invoicing_template\',\n
\'erp5_ods_style\',\n
\'erp5_odt_style\',\n
\'erp5_ooo_import\',\n
)\n
\n
bt5_update_catalog = (\'erp5_ingestion_mysql_innodb_catalog\', \'erp5_accounting\', )\n
\n
for name in bt5_installation_list:\n
configuration_save.addConfigurationItem("Standard BT5 Configurator Item",\n
title=name, bt5_id=name,\n
update_catalog=(name in bt5_update_catalog),\n
install_dependency=True,\n
)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupStandardBT5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup standard ERP5 business templates</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Workflow Script" module="erp5.portal_type"/>
</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>configuration_save = context.restrictedTraverse(configuration_save_url)\n
\n
context.setGlobalConfigurationAttr(\n
categories_spreadsheet_configuration_save_relative_url=configuration_save.getRelativeUrl())\n
\n
configuration_save.addConfigurationItem("Categories Spreadsheet Configurator Item",\n
configuration_spreadsheet_data = getattr(context, "standard_category.ods").data)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>configuration_save_url=None, **kw</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BusinessConfiguration_setupStandardCategory</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Workflow Script</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Standard Category</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupAccounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_accounting</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_accounting</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_accounting</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Accounting</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPreferences</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_application_preferences</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_erp5_preferences</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_erp5_preferences</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure ERP5 Preferences</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupOrganisation</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_your_organisation</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_organisation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_organisation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure Organisation</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeeList</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_user_accounts_configuration</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_user_accounts</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_user_accounts</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure User Accounts</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupEmployeesNumber</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_number_of_user_accounts</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>configure_user_accounts_numbers</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_configure_user_accounts_numbers</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configure User Accounts Number</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_end</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>finalize</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_finalize</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Finalize</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_displayDownload</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_download</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>install</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_install</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Install</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupStandardCategory</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_category</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>setup_category</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_setup_category</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Category</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupCustomerBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_customer_bt</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>setup_customer_bt5</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_setup_customer_bt5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Customer BT5</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupPortalTypeRole</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_role</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>setup_portal_type_role</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_setup_portal_type_role</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Portal Type Role</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>actbox_icon</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_name</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>actbox_url</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>after_script_id</string> </key>
<value>
<tuple>
<string>BusinessConfiguration_setupStandardBT5</string>
</tuple>
</value>
</item>
<item>
<key> <string>before_script_id</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>destination/portal_workflow/workflow_erp5_standard_workflow/state_standard_bt5</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>setup_standard_bt5</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>guard_expression</string> </key>
<value> <string>python: True</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>transition_setup_standard_bt5</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition</string> </value>
</item>
<item>
<key> <string>role</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Setup Standard BT5</string> </value>
</item>
<item>
<key> <string>trigger_type</string> </key>
<value> <int>2</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
workflow_erp5_consulting_workflow
workflow_erp5_standard_workflow
\ No newline at end of file
erp5_consulting_workflow
erp5_standard_workflow
\ 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