Commit 264459a7 authored by Tatuya Kamada's avatar Tatuya Kamada

Trade: Unify the default sort order on erp5_trade delivery module listboxes.

Sorting by title on the module listboxes does not make sense because of the
way of the default title generation.  (ex SO-1,..SO-100 are sorted SO-1, SO-10)

Also, specify missing CountMethod in the listboxes.
......@@ -12,6 +12,7 @@
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
......@@ -155,6 +156,12 @@
</list>
</value>
</item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<value>
......@@ -292,8 +299,8 @@
<value>
<list>
<tuple>
<string>title</string>
<string>title</string>
<string>creation_date</string>
<string>desc</string>
</tuple>
</list>
</value>
......@@ -379,4 +386,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,6 +12,7 @@
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
......@@ -147,6 +148,12 @@
</list>
</value>
</item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<value>
......@@ -276,8 +283,8 @@
<value>
<list>
<tuple>
<string>title</string>
<string>title</string>
<string>creation_date</string>
<string>desc</string>
</tuple>
</list>
</value>
......@@ -355,4 +362,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,6 +12,7 @@
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
......@@ -147,6 +148,12 @@
</list>
</value>
</item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<value>
......@@ -268,8 +275,8 @@
<value>
<list>
<tuple>
<string>title</string>
<string>title</string>
<string>creation_date</string>
<string>desc</string>
</tuple>
</list>
</value>
......@@ -347,4 +354,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,6 +12,7 @@
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
......@@ -147,6 +148,12 @@
</list>
</value>
</item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<value>
......@@ -268,8 +275,8 @@
<value>
<list>
<tuple>
<string>title</string>
<string>title</string>
<string>creation_date</string>
<string>desc</string>
</tuple>
</list>
</value>
......@@ -347,4 +354,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,12 +12,14 @@
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
<string>portal_types</string>
<string>search_columns</string>
<string>selection_name</string>
<string>sort</string>
<string>sort_columns</string>
<string>title</string>
</list>
......@@ -154,6 +156,12 @@
</list>
</value>
</item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<value>
......@@ -290,6 +298,17 @@
<key> <string>selection_name</string> </key>
<value> <string>sale_order_module_view_sale_order_list_selection</string> </value>
</item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>creation_date</string>
<string>DESC</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>sort_columns</string> </key>
<value>
......@@ -371,4 +390,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -12,6 +12,7 @@
<list>
<string>all_columns</string>
<string>columns</string>
<string>count_method</string>
<string>domain_root_list</string>
<string>domain_tree</string>
<string>editable_columns</string>
......@@ -155,6 +156,12 @@
</list>
</value>
</item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>domain_root_list</string> </key>
<value>
......@@ -288,8 +295,8 @@
<value>
<list>
<tuple>
<string>title</string>
<string>title</string>
<string>creation_date</string>
<string>desc</string>
</tuple>
</list>
</value>
......@@ -371,4 +378,17 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Method" module="Products.Formulator.MethodField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>method_name</string> </key>
<value> <string>countFolder</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
1178
\ No newline at end of file
1179
\ 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