Commit 4a5ebc6c authored by wenjie.zheng's avatar wenjie.zheng

erp5_configurator_run_my_doc: reinstall the original version

parent 90fcf778
...@@ -6,6 +6,24 @@ ...@@ -6,6 +6,24 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>after_script_id</string> </key> <key> <string>after_script_id</string> </key>
<value> <value>
...@@ -46,7 +64,33 @@ ...@@ -46,7 +64,33 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Configure user accounts</string> </value> <value> <string>Configure user accounts</string> </value>
</item> </item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocUserListForm</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData> </ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Transition Variable" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>causality/workflow_module/run_my_doc_configuration_workflow/variable_client_id</string>
</tuple>
</value>
</item>
<item>
<key> <string>default_value</string> </key>
<value> <string>Default Value = python: object.document.getCurrentStateValue().getVariableValue(object.document, \'user_number\') + 1</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>1</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Transition Variable</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Install</string> </value> <value> <string>Install</string> </value>
</item> </item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_displayRunMyDocDownloadForm</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Configure ERP5 Preferences</string> </value> <value> <string>Configure ERP5 Preferences</string> </value>
</item> </item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocPreferencesForm</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Configure Organisation</string> </value> <value> <string>Configure Organisation</string> </value>
</item> </item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocOrganisationForm</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Configure user accounts number</string> </value> <value> <string>Configure user accounts number</string> </value>
</item> </item>
<item>
<key> <string>transition_form_id</string> </key>
<value> <string>BusinessConfiguration_setupRunMyDocUserNumberForm</string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>default_value</string> </key> <key> <string>default_value</string> </key>
<value> <string>python: None</string> </value> <value> <string>python: member.getUserName()</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>default_value</string> </key> <key> <string>default_value</string> </key>
<value> <string>python: None</string> </value> <value> <string>python: request.get(\'client_id\', None)</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>default_value</string> </key> <key> <string>default_value</string> </key>
<value> <string>python: None</string> </value> <value> <string>python: request.get(\'configuration_save_url\', None)</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
</item> </item>
<item> <item>
<key> <string>default_value</string> </key> <key> <string>default_value</string> </key>
<value> <string>python: None</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>default_value</string> </key> <key> <string>default_value</string> </key>
<value> <string>python: None</string> </value> <value> <string>python: object.getDateTime()</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</item> </item>
<item> <item>
<key> <string>default_value</string> </key> <key> <string>default_value</string> </key>
<value> <string>python: None</string> </value> <value> <string>python: request.get(\'transition\', None)</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
......
...@@ -162,26 +162,26 @@ class TestRunMyDocsConfiguratorWorkflowMixin(TestLiveConfiguratorWorkflowMixin): ...@@ -162,26 +162,26 @@ class TestRunMyDocsConfiguratorWorkflowMixin(TestLiveConfiguratorWorkflowMixin):
sequence.edit(next_dict=next_dict) sequence.edit(next_dict=next_dict)
def stepCheckMultipleUserAccountThreeBrazil(self, sequence=None, sequence_list=None, **kw): def stepCheckMultipleUserAccountThreeBrazil(self, sequence=None, sequence_list=None, **kw):
""" Check if the users were created correctly """ """ Check if the users were created correctly """
business_configuration = sequence.get("business_configuration") business_configuration = sequence.get("business_configuration")
person_config_save = business_configuration["5"] person_config_save = business_configuration["5"]
person_config_item = person_config_save["1"] person_config_item = person_config_save["1"]
self.assertEqual(person_config_item.getReference(), "person_creator") self.assertEqual(person_config_item.getReference(), "person_creator")
person_config_item = person_config_save["2"] person_config_item = person_config_save["2"]
self.assertEqual(person_config_item.getReference(), "person_assignee") self.assertEqual(person_config_item.getReference(), "person_assignee")
person_config_item = person_config_save["3"] person_config_item = person_config_save["3"]
self.assertEqual(person_config_item.getReference(), "person_assignor") self.assertEqual(person_config_item.getReference(), "person_assignor")
def stepCheckMultipleUserAccountThreeFrance(self, sequence=None, sequence_list=None, **kw): def stepCheckMultipleUserAccountThreeFrance(self, sequence=None, sequence_list=None, **kw):
""" Check if the users were created correctly """ """ Check if the users were created correctly """
business_configuration = sequence.get("business_configuration") business_configuration = sequence.get("business_configuration")
person_config_save = business_configuration["5"] person_config_save = business_configuration["5"]
person_config_item = person_config_save["1"] person_config_item = person_config_save["1"]
self.assertEqual(person_config_item.getReference(), "french_creator") self.assertEqual(person_config_item.getReference(), "french_creator")
person_config_item = person_config_save["2"] person_config_item = person_config_save["2"]
self.assertEqual(person_config_item.getReference(), "french_assignee") self.assertEqual(person_config_item.getReference(), "french_assignee")
person_config_item = person_config_save["3"] person_config_item = person_config_save["3"]
self.assertEqual(person_config_item.getReference(), "french_assignor") self.assertEqual(person_config_item.getReference(), "french_assignor")
def stepCheckSystemPreferenceAfterInstallation(self, sequence=None, sequence_list=None, **kw): def stepCheckSystemPreferenceAfterInstallation(self, sequence=None, sequence_list=None, **kw):
""" Check System Preference""" """ Check System Preference"""
......
...@@ -45,7 +45,26 @@ ...@@ -45,7 +45,26 @@
<item> <item>
<key> <string>text_content_warning_message</string> </key> <key> <string>text_content_warning_message</string> </key>
<value> <value>
<tuple/> <tuple>
<string>W:165, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:166, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:167, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:168, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:169, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:170, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:171, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:172, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:173, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:176, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:177, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:178, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:179, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:180, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:181, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:182, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:183, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
<string>W:184, 0: Bad indentation. Found 5 spaces, expected 4 (bad-indentation)</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
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