Commit 50161f20 authored by Ayush Tiwari's avatar Ayush Tiwari

[erp5_core]: Catalog listbox should be in view_mode and not list_mode

This follows the guidelines and also make it feasible to go to listbox
to search or make changes in sub-object list.

Also, add 'More columns' in listbox for viewing Catalog Method list.
parent f19a3c76
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>all_columns</string>
<string>columns</string> <string>columns</string>
<string>count_method</string> <string>count_method</string>
<string>lines</string> <string>lines</string>
...@@ -93,6 +94,21 @@ ...@@ -93,6 +94,21 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <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> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
...@@ -105,6 +121,10 @@ ...@@ -105,6 +121,10 @@
<string>id</string> <string>id</string>
<string>ID</string> <string>ID</string>
</tuple> </tuple>
<tuple>
<string>translated_portal_type</string>
<string>Portal Type</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -114,7 +134,7 @@ ...@@ -114,7 +134,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_list_mode_listbox</string> </value> <value> <string>my_view_mode_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
......
...@@ -120,6 +120,10 @@ ...@@ -120,6 +120,10 @@
<string>expression_cache_key</string> <string>expression_cache_key</string>
<string>Expression Key</string> <string>Expression Key</string>
</tuple> </tuple>
<tuple>
<string>translated_portal_type</string>
<string>Portal Type</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
...@@ -148,7 +152,7 @@ ...@@ -148,7 +152,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_list_mode_listbox</string> </value> <value> <string>my_view_mode_listbox</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -172,7 +176,7 @@ ...@@ -172,7 +176,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Filter</string> </value> <value> <string>Filter Methods</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
......
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