From 56bbf7aa732ae94d8d8c3a9e62b71e49e10027f7 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Tue, 16 Feb 2010 12:23:29 +0000 Subject: [PATCH] update jumps and remove an unused view git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32606 20353a03-c40f-0410-a6d1-a30d3c3de9de --- ...on.xml => view_related_transformation.xml} | 18 +- ...xml => jump_to_related_transformation.xml} | 10 +- ...t_viewRelatedApparelTransformationList.xml | 134 ----------- .../listbox.xml | 227 ------------------ bt5/erp5_apparel/bt/revision | 2 +- bt5/erp5_apparel/bt/template_action_path_list | 4 +- 6 files changed, 21 insertions(+), 374 deletions(-) rename bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/{view_related_apparel_transformation.xml => view_related_transformation.xml} (80%) rename bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/{jump_to_related_apparel_transformation.xml => jump_to_related_transformation.xml} (90%) delete mode 100644 bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList.xml delete mode 100644 bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList/listbox.xml diff --git a/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_apparel_transformation.xml b/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml similarity index 80% rename from bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_apparel_transformation.xml rename to bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml index 1c9969ae24..e16e5bf4d8 100644 --- a/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_apparel_transformation.xml +++ b/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Assortment/view_related_transformation.xml @@ -19,13 +19,13 @@ <key> <string>categories</string> </key> <value> <tuple> - <string>action_type/object_view</string> + <string>action_type/object_jump</string> </tuple> </value> </item> <item> <key> <string>category</string> </key> - <value> <string>object_view</string> </value> + <value> <string>object_jump</string> </value> </item> <item> <key> <string>condition</string> </key> @@ -33,7 +33,9 @@ </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -41,7 +43,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>view_related_apparel_transformation</string> </value> + <value> <string>view_related_transformation</string> </value> </item> <item> <key> <string>permissions</string> </key> @@ -57,7 +59,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Related Apparel Transformation</string> </value> + <value> <string>Related Transformation</string> </value> </item> <item> <key> <string>visible</string> </key> @@ -77,7 +79,11 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>string:${object_url}/ApparelAssortment_viewRelatedApparelTransformationList</string> </value> + <value> <string encoding="cdata"><![CDATA[ + +string:${object_url}/Base_jumpToRelatedObject?base_category=resource&portal_type=Transformation + +]]></string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_transformation.xml b/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml similarity index 90% rename from bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_transformation.xml rename to bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml index f98d796cbf..bc9106811b 100644 --- a/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_apparel_transformation.xml +++ b/bt5/erp5_apparel/ActionTemplateItem/portal_types/Apparel%20Model/jump_to_related_transformation.xml @@ -33,7 +33,9 @@ </item> <item> <key> <string>description</string> </key> - <value> <string></string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>icon</string> </key> @@ -41,7 +43,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>jump_to_related_apparel_transformation</string> </value> + <value> <string>jump_to_related_transformation</string> </value> </item> <item> <key> <string>permissions</string> </key> @@ -57,7 +59,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>Related Apparel Transformation</string> </value> + <value> <string>Related Transformation</string> </value> </item> <item> <key> <string>visible</string> </key> @@ -79,7 +81,7 @@ <key> <string>text</string> </key> <value> <string encoding="cdata"><![CDATA[ -string:${object_url}/Base_jumpToRelatedObject?base_category=resource&portal_type=Apparel+Transformation +string:${object_url}/Base_jumpToRelatedObject?base_category=resource&portal_type=Transformation ]]></string> </value> </item> diff --git a/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList.xml b/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList.xml deleted file mode 100644 index 9e520d2c91..0000000000 --- a/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList.xml +++ /dev/null @@ -1,134 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ERP5Form" module="Products.ERP5Form.Form"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <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/> - </value> - </item> - </dictionary> - </state> - </object> - </value> - </item> - <item> - <key> <string>_objects</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>action</string> </key> - <value> <string>Base_edit</string> </value> - </item> - <item> - <key> <string>encoding</string> </key> - <value> <string>UTF-8</string> </value> - </item> - <item> - <key> <string>enctype</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>group_list</string> </key> - <value> - <list> - <string>left</string> - <string>right</string> - <string>center</string> - <string>bottom</string> - </list> - </value> - </item> - <item> - <key> <string>groups</string> </key> - <value> - <dictionary> - <item> - <key> <string>bottom</string> </key> - <value> - <list> - <string>listbox</string> - </list> - </value> - </item> - <item> - <key> <string>center</string> </key> - <value> - <list/> - </value> - </item> - <item> - <key> <string>left</string> </key> - <value> - <list/> - </value> - </item> - <item> - <key> <string>right</string> </key> - <value> - <list/> - </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>ApparelAssortment_viewRelatedApparelTransformationList</string> </value> - </item> - <item> - <key> <string>method</string> </key> - <value> <string>POST</string> </value> - </item> - <item> - <key> <string>name</string> </key> - <value> <string>ApparelAssortment_viewRelatedApparelTransformationList</string> </value> - </item> - <item> - <key> <string>pt</string> </key> - <value> <string>form_view</string> </value> - </item> - <item> - <key> <string>row_length</string> </key> - <value> <int>4</int> </value> - </item> - <item> - <key> <string>stored_encoding</string> </key> - <value> <string>UTF-8</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Related Apparel Transformation</string> </value> - </item> - <item> - <key> <string>unicode_mode</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>update_action</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList/listbox.xml b/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList/listbox.xml deleted file mode 100644 index c0c0354c8e..0000000000 --- a/bt5/erp5_apparel/SkinTemplateItem/portal_skins/erp5_apparel/ApparelAssortment_viewRelatedApparelTransformationList/listbox.xml +++ /dev/null @@ -1,227 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <tuple> - <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>delegated_list</string> </key> - <value> - <list> - <string>all_columns</string> - <string>columns</string> - <string>hide_rows_on_no_search_criterion</string> - <string>list_action</string> - <string>list_method</string> - <string>portal_types</string> - <string>selection_name</string> - <string>sort</string> - <string>title</string> - </list> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>listbox</string> </value> - </item> - <item> - <key> <string>message_values</string> </key> - <value> - <dictionary> - <item> - <key> <string>external_validator_failed</string> </key> - <value> <string>The input failed the external validator.</string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>overrides</string> </key> - <value> - <dictionary> - <item> - <key> <string>field_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>form_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>target</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>tales</string> </key> - <value> - <dictionary> - <item> - <key> <string>field_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>form_id</string> </key> - <value> <string></string> </value> - </item> - <item> - <key> <string>hide_rows_on_no_search_criterion</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>target</string> </key> - <value> <string></string> </value> - </item> - </dictionary> - </value> - </item> - <item> - <key> <string>values</string> </key> - <value> - <dictionary> - <item> - <key> <string>all_columns</string> </key> - <value> - <list> - <tuple> - <string>creation_date</string> - <string>Creation Date</string> - </tuple> - <tuple> - <string>modification_date</string> - <string>Modification Date</string> - </tuple> - </list> - </value> - </item> - <item> - <key> <string>columns</string> </key> - <value> - <list> - <tuple> - <string>title</string> - <string>Title</string> - </tuple> - <tuple> - <string>reference</string> - <string>Reference</string> - </tuple> - <tuple> - <string>resource_title</string> - <string>Target Product</string> - </tuple> - <tuple> - <string>description</string> - <string>Description</string> - </tuple> - <tuple> - <string>translated_validation_state_title</string> - <string>State</string> - </tuple> - </list> - </value> - </item> - <item> - <key> <string>field_id</string> </key> - <value> <string>my_view_mode_listbox</string> </value> - </item> - <item> - <key> <string>form_id</string> </key> - <value> <string>Base_viewApparelFieldLibrary</string> </value> - </item> - <item> - <key> <string>hide_rows_on_no_search_criterion</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>list_action</string> </key> - <value> <string>ApparelAssortment_viewRelatedApparelTransformationList</string> </value> - </item> - <item> - <key> <string>list_method</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>portal_types</string> </key> - <value> - <list> - <tuple> - <string>Transformation</string> - <string>Transformation</string> - </tuple> - </list> - </value> - </item> - <item> - <key> <string>selection_name</string> </key> - <value> <string>apparel_assortment_related_transformation_selection</string> </value> - </item> - <item> - <key> <string>sort</string> </key> - <value> - <list> - <tuple> - <string>title</string> - <string>ascending</string> - </tuple> - </list> - </value> - </item> - <item> - <key> <string>target</string> </key> - <value> <string>Click to edit the target</string> </value> - </item> - <item> - <key> <string>title</string> </key> - <value> <string>Related Transformations</string> </value> - </item> - </dictionary> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <tuple> - <global name="TALESMethod" module="Products.Formulator.TALESField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_text</string> </key> - <value> <string>python: preferences.getPreference(\'preferred_hide_rows_on_no_search_criterion\', False)</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <tuple> - <global name="Method" module="Products.Formulator.MethodField"/> - <tuple/> - </tuple> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>method_name</string> </key> - <value> <string>getResourceRelatedValueList</string> </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/bt5/erp5_apparel/bt/revision b/bt5/erp5_apparel/bt/revision index ce83bd94b3..ddc17b20b7 100644 --- a/bt5/erp5_apparel/bt/revision +++ b/bt5/erp5_apparel/bt/revision @@ -1 +1 @@ -258 \ No newline at end of file +260 \ No newline at end of file diff --git a/bt5/erp5_apparel/bt/template_action_path_list b/bt5/erp5_apparel/bt/template_action_path_list index d4ebd0fa1b..a4a59e6769 100644 --- a/bt5/erp5_apparel/bt/template_action_path_list +++ b/bt5/erp5_apparel/bt/template_action_path_list @@ -9,7 +9,7 @@ Apparel Assortment Module | sort_on Apparel Assortment Module | view Apparel Assortment Module | workflow_report Apparel Assortment | view -Apparel Assortment | view_related_apparel_transformation +Apparel Assortment | view_related_transformation Apparel Bath Module | csv_export Apparel Bath Module | import_csv Apparel Bath Module | list_ui @@ -117,7 +117,7 @@ Apparel Model | copy_composition Apparel Model | development Apparel Model | inventory_view Apparel Model | jump_to_related_apparel_model -Apparel Model | jump_to_related_apparel_transformation +Apparel Model | jump_to_related_transformation Apparel Model | morphology_variation Apparel Model | purchase_price_view Apparel Model | sale_price_view -- 2.30.9