diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales.xml index 3a2d155ac4d29d894a4afa486df7809f8d47310f..e8891286a4e2087304c70c80a108016a618a1e35 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales.xml @@ -53,6 +53,24 @@ </tuple> </value> </item> + <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> <key> <string>description</string> </key> <value> @@ -74,4 +92,26 @@ </dictionary> </pickle> </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> diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales/manager.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales/manager.xml new file mode 100644 index 0000000000000000000000000000000000000000..ecad491e9875348c6380b7faf275aacc88a5e3e2 --- /dev/null +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/function/sales/manager.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>function/sales/manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>manager</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Manager</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/region/brazil.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/region/brazil.xml new file mode 100644 index 0000000000000000000000000000000000000000..e07b77c78e879552966f64005db15183a222c6a7 --- /dev/null +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_categories/region/brazil.xml @@ -0,0 +1,85 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Category" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Add_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Add_portal_folders_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Delete_objects_Permission</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>_Modify_portal_content_Permission</string> </key> + <value> + <tuple> + <string>Assignee</string> + <string>Assignor</string> + <string>Manager</string> + <string>Owner</string> + </tuple> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple> + <string>region/brazil</string> + </tuple> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>brazil</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Category</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Brazil</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml index cf1c4e03e2149e6300eee0e4ce0b0ab690f20bfa..49d6aefb4b796115a7192d0aaa5e5043b2e2ed3f 100644 --- a/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml +++ b/bt5/erp5_user_tutorial_ui_test/PathTemplateItem/portal_tests/user_tutorial_zuite/testHowToOrganisation.xml @@ -132,12 +132,12 @@ </tr>\n <tr>\n <td>type</td>\n - <td>//input[@name="field_my_default_email_text"]</td>\n + <td>//input[@name="field_my_default_email_coordinate_text"]</td>\n <td>info@zcompany.com</td>\n </tr>\n <tr>\n <td>type</td>\n - <td>//input[@name="field_my_default_telephone_text"]</td>\n + <td>//input[@name="field_default_telephone_my_default_telephone_coordinate_text"]</td>\n <td>+55(0)22 2222 2222</td>\n </tr>\n <tr>\n diff --git a/bt5/erp5_user_tutorial_ui_test/bt/revision b/bt5/erp5_user_tutorial_ui_test/bt/revision index f4edf9d173ef69450df6aef32ab3dd6abb6cbb5a..26c159cea5660d021ee056bc2e399d8e9161c78f 100644 --- a/bt5/erp5_user_tutorial_ui_test/bt/revision +++ b/bt5/erp5_user_tutorial_ui_test/bt/revision @@ -1 +1 @@ -770 \ No newline at end of file +771 \ No newline at end of file diff --git a/bt5/erp5_user_tutorial_ui_test/bt/template_path_list b/bt5/erp5_user_tutorial_ui_test/bt/template_path_list index 6a88767a12cc06fb9bee93f6f9dedbc439003dcb..704eead6f45669f4f1c7b5867fb70a4f20f23efd 100644 --- a/bt5/erp5_user_tutorial_ui_test/bt/template_path_list +++ b/bt5/erp5_user_tutorial_ui_test/bt/template_path_list @@ -12,6 +12,8 @@ portal_categories/nationality/french portal_categories/nationality/french/** portal_categories/quantity_unit/time portal_categories/quantity_unit/time/** +portal_categories/region/brazil +portal_categories/region/brazil/** portal_categories/role portal_categories/role/** portal_tests/user_tutorial_zuite