diff --git a/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml index 4b2ea118845264d35a7168345e19b1b35b48ce61..7c74f6cdfe3e40ecea58877fbad8195314149e4c 100644 --- a/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml +++ b/bt5/erp5_ui_test/PortalTypeBaseCategoryTemplateItem/base_category_list.xml @@ -4,4 +4,7 @@ <item>bar_category</item> <item>foo_category</item> </portal_type> + <portal_type id="Foo Line"> + <item>foo_category</item> + </portal_type> </base_category_list> \ No newline at end of file diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_editObjectLineDates.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_editObjectLineDates.xml index 6b22493a19270b6305a082c3f45b6daa7113e5ce..41f92691b68f7c1ee41430e77f8e230e44eb8ff4 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_editObjectLineDates.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_editObjectLineDates.xml @@ -70,9 +70,10 @@ <key> <string>_body</string> </key> <value> <string># This script is used initially by PlanningBox tests currently\n for i in context.searchFolder():\n - i.edit(start_date=DateTime(DateTime().strftime("%Y/%m/%d"))+0.4,\n - stop_date=DateTime(DateTime().strftime("%Y/%m/%d"))+0.8)\n + i.setStartDate(DateTime(DateTime().strftime("%Y/%m/%d"))+0.4)\n + i.setStopDate(DateTime(DateTime().strftime("%Y/%m/%d"))+0.8)\n i.newContent(id = str(0), title = \'Title 4\', portal_type=\'Foo Line\' )\n + i.setFooCategory(\'foo_category/a\')\n \n return \'Modified Successfully.\'\n </string> </value> diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewPlanningBox/planning_box.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewPlanningBox/planning_box.xml index 22bf29729e2b3c532f27ce3081e9c544d4aad919..95b105876e75b02a313e3d15f39ae9bb4fd33011 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewPlanningBox/planning_box.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_viewPlanningBox/planning_box.xml @@ -510,7 +510,12 @@ <item> <key> <string>portal_types</string> </key> <value> - <list/> + <list> + <tuple> + <string>Foo Line</string> + <string>Foo Line</string> + </tuple> + </list> </value> </item> <item> @@ -521,6 +526,10 @@ <string>parent</string> <string>parent</string> </tuple> + <tuple> + <string>foo_domain</string> + <string>foo_domain</string> + </tuple> </list> </value> </item> diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index aebfaa171de09b0b7060f62ed145db806a73f62b..cc4f7f3feba9cb8765296f4ce390a79adf482e95 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -214 \ No newline at end of file +218 \ No newline at end of file diff --git a/bt5/erp5_ui_test/bt/template_portal_type_base_category_list b/bt5/erp5_ui_test/bt/template_portal_type_base_category_list index 28e921fc211dacd145ffe08aa27e9579a6e80a75..fec4b2eedcc9cfaaf279917afdcff619816fd2ce 100644 --- a/bt5/erp5_ui_test/bt/template_portal_type_base_category_list +++ b/bt5/erp5_ui_test/bt/template_portal_type_base_category_list @@ -1,3 +1,4 @@ +Foo Line | foo_category Foo | bar_category Foo | foo_big_category Foo | foo_category \ No newline at end of file