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.
parent 4699f831
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<list> <list>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string>
<string>domain_root_list</string> <string>domain_root_list</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
...@@ -155,6 +156,12 @@ ...@@ -155,6 +156,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -292,8 +299,8 @@ ...@@ -292,8 +299,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>creation_date</string>
<string>title</string> <string>desc</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -379,4 +386,17 @@ ...@@ -379,4 +386,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<list> <list>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string>
<string>domain_root_list</string> <string>domain_root_list</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
...@@ -147,6 +148,12 @@ ...@@ -147,6 +148,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -276,8 +283,8 @@ ...@@ -276,8 +283,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>creation_date</string>
<string>title</string> <string>desc</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -355,4 +362,17 @@ ...@@ -355,4 +362,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<list> <list>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string>
<string>domain_root_list</string> <string>domain_root_list</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
...@@ -147,6 +148,12 @@ ...@@ -147,6 +148,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -268,8 +275,8 @@ ...@@ -268,8 +275,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>creation_date</string>
<string>title</string> <string>desc</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -347,4 +354,17 @@ ...@@ -347,4 +354,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<list> <list>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string>
<string>domain_root_list</string> <string>domain_root_list</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
...@@ -147,6 +148,12 @@ ...@@ -147,6 +148,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -268,8 +275,8 @@ ...@@ -268,8 +275,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>creation_date</string>
<string>title</string> <string>desc</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -347,4 +354,17 @@ ...@@ -347,4 +354,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -12,12 +12,14 @@ ...@@ -12,12 +12,14 @@
<list> <list>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string>
<string>domain_root_list</string> <string>domain_root_list</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
<string>portal_types</string> <string>portal_types</string>
<string>search_columns</string> <string>search_columns</string>
<string>selection_name</string> <string>selection_name</string>
<string>sort</string>
<string>sort_columns</string> <string>sort_columns</string>
<string>title</string> <string>title</string>
</list> </list>
...@@ -154,6 +156,12 @@ ...@@ -154,6 +156,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -290,6 +298,17 @@ ...@@ -290,6 +298,17 @@
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>sale_order_module_view_sale_order_list_selection</string> </value> <value> <string>sale_order_module_view_sale_order_list_selection</string> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>creation_date</string>
<string>DESC</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>sort_columns</string> </key> <key> <string>sort_columns</string> </key>
<value> <value>
...@@ -371,4 +390,17 @@ ...@@ -371,4 +390,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<list> <list>
<string>all_columns</string> <string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string>
<string>domain_root_list</string> <string>domain_root_list</string>
<string>domain_tree</string> <string>domain_tree</string>
<string>editable_columns</string> <string>editable_columns</string>
...@@ -155,6 +156,12 @@ ...@@ -155,6 +156,12 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>count_method</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
<value> <value>
...@@ -288,8 +295,8 @@ ...@@ -288,8 +295,8 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title</string> <string>creation_date</string>
<string>title</string> <string>desc</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -371,4 +378,17 @@ ...@@ -371,4 +378,17 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </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> </ZopeData>
1178 1179
\ No newline at end of file \ 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