Commit 9b043d28 authored by Fabien Morin's avatar Fabien Morin

add workflow on many portal types, add state fields on related forms, display...

add workflow on many portal types, add state fields on related forms, display state in module listbox and remove id fields from this listboxes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29304 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0e217c5
......@@ -3,18 +3,38 @@
<type>Apparel Assortment</type>
<workflow>validation_workflow, edit_workflow</workflow>
</chain>
<chain>
<type>Apparel Bath</type>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
<chain>
<type>Apparel Cloth</type>
<workflow>apparel_cloth_workflow</workflow>
</chain>
<chain>
<type>Apparel Colour Range</type>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
<chain>
<type>Apparel Component</type>
<workflow>validation_workflow, edit_workflow</workflow>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
<chain>
<type>Apparel Consumption</type>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
<chain>
<type>Apparel Fabric</type>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
<chain>
<type>Apparel Fabric Item</type>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
<chain>
<type>Apparel Measurement</type>
<workflow>validation_workflow, edit_workflow</workflow>
</chain>
<chain>
<type>Apparel Model</type>
<workflow>apparel_model_workflow</workflow>
......@@ -24,7 +44,11 @@
<workflow>apparel_shape_workflow</workflow>
</chain>
<chain>
<type>Apparel Transformation</type>
<type>Apparel Size</type>
<workflow>validation_workflow, edit_workflow</workflow>
</chain>
<chain>
<type>Apparel Transformation</type>
<workflow>edit_workflow, validation_workflow</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
......@@ -309,7 +309,24 @@
<item>
<key> <string>all_columns</string> </key>
<value>
<list/>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>variation_category_list</string>
<string>Variation</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -330,10 +347,6 @@
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -346,6 +359,10 @@
<string>variation_category_list</string>
<string>Variation</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......
......@@ -72,7 +72,9 @@
<item>
<key> <string>center</string> </key>
<value>
<list/>
<list>
<string>my_description</string>
</list>
</value>
</item>
<item>
......@@ -90,6 +92,7 @@
<value>
<list>
<string>my_comment</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.StandardFields</string>
<string>TextAreaField</string>
</tuple>
<none/>
<global name="TextAreaField" module="Products.Formulator.StandardFields"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -275,7 +272,7 @@
</item>
<item>
<key> <string>width</string> </key>
<value> <int>80</int> </value>
<value> <int>40</int> </value>
</item>
</dictionary>
</value>
......
......@@ -310,10 +310,6 @@
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -322,6 +318,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>translated_validation_state_title</string>
</tuple>
</list>
</value>
</item>
......@@ -343,10 +343,6 @@
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -355,6 +351,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>translated_validation_state_title</string>
</tuple>
</list>
</value>
</item>
......@@ -497,10 +497,6 @@
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -509,6 +505,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>translated_validation_state_title</string>
</tuple>
</list>
</value>
</item>
......@@ -535,10 +535,6 @@
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -547,6 +543,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>translated_validation_state_title</string>
</tuple>
</list>
</value>
</item>
......
......@@ -93,6 +93,7 @@
<list>
<string>my_collection_list</string>
<string>my_segment_list</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -310,10 +310,6 @@
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -322,6 +318,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -343,10 +343,6 @@
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -355,6 +351,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -513,10 +513,6 @@
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -525,6 +521,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -551,10 +551,6 @@
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -563,6 +559,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......
......@@ -90,6 +90,7 @@
<value>
<list>
<string>my_variation_category_list</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ListBox</string>
<string>ListBox</string>
</tuple>
<none/>
<global name="ListBox" module="Products.ERP5Form.ListBox"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -312,7 +309,36 @@
<item>
<key> <string>all_columns</string> </key>
<value>
<list/>
<list>
<tuple>
<string>title</string>
<string>Title</string>
</tuple>
<tuple>
<string>resource_title</string>
<string>Resource</string>
</tuple>
<tuple>
<string>variation_category_list</string>
<string>Variation</string>
</tuple>
<tuple>
<string>net_width</string>
<string>Net Width</string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
<item>
......@@ -325,14 +351,14 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>anchor</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -357,6 +383,10 @@
<string>quantity_unit</string>
<string>Quantity Unit</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -420,6 +450,10 @@
<key> <string>hidden</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>hide_rows_on_no_search_criterion</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>lines</string> </key>
<value> <int>30</int> </value>
......@@ -440,6 +474,10 @@
<list/>
</value>
</item>
<item>
<key> <string>page_template</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value>
......@@ -461,6 +499,10 @@
<key> <string>report_tree</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>row_css_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>search</string> </key>
<value> <int>1</int> </value>
......@@ -510,6 +552,12 @@
<key> <string>title</string> </key>
<value> <string>Apparel Fabric Items</string> </value>
</item>
<item>
<key> <string>untranslatable_columns</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>url_columns</string> </key>
<value>
......@@ -525,11 +573,8 @@
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.MethodField</string>
<string>Method</string>
</tuple>
<none/>
<global name="Method" module="Products.Formulator.MethodField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......
......@@ -98,6 +98,7 @@
<string>my_quantity</string>
<string>my_quantity_unit</string>
<string>my_comment</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -310,10 +310,6 @@
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -326,6 +322,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -347,10 +347,6 @@
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -363,6 +359,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -505,10 +505,6 @@
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -521,6 +517,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -547,10 +547,6 @@
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -563,6 +559,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......
......@@ -86,6 +86,7 @@
<list>
<string>Image_view</string>
<string>my_file</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
......@@ -77,7 +77,9 @@
<item>
<key> <string>center</string> </key>
<value>
<list/>
<list>
<string>my_title</string>
</list>
</value>
</item>
<item>
......@@ -93,9 +95,7 @@
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_title</string>
</list>
<list/>
</value>
</item>
<item>
......
......@@ -310,10 +310,6 @@
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -326,6 +322,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -347,10 +347,6 @@
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -363,6 +359,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -505,10 +505,6 @@
<key> <string>search_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -521,6 +517,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......@@ -547,10 +547,6 @@
<key> <string>sort_columns</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>ID</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -563,6 +559,10 @@
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
......
......@@ -85,6 +85,7 @@
<list>
<string>my_size_list</string>
<string>my_apparel_morpho_type_list</string>
<string>my_translated_validation_state_title</string>
</list>
</value>
</item>
......
42
\ No newline at end of file
44
\ No newline at end of file
Apparel Assortment | edit_workflow
Apparel Assortment | validation_workflow
Apparel Bath | edit_workflow
Apparel Bath | validation_workflow
Apparel Cloth | apparel_cloth_workflow
Apparel Colour Range | edit_workflow
Apparel Colour Range | validation_workflow
Apparel Component | edit_workflow
Apparel Component | validation_workflow
Apparel Consumption | edit_workflow
Apparel Consumption | validation_workflow
Apparel Fabric Item | edit_workflow
Apparel Fabric Item | validation_workflow
Apparel Fabric | edit_workflow
Apparel Fabric | validation_workflow
Apparel Measurement | edit_workflow
Apparel Measurement | validation_workflow
Apparel Model | apparel_model_workflow
Apparel Shape | apparel_shape_workflow
Apparel Size | edit_workflow
Apparel Size | validation_workflow
Apparel Transformation | edit_workflow
Apparel Transformation | validation_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