Commit 15a3ab44 authored by Romain Courteaud's avatar Romain Courteaud

Improve listbox configuration to enable sorting

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20093 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c8c5e9db
...@@ -90,8 +90,8 @@ ...@@ -90,8 +90,8 @@
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list> <list>
<string>listbox_start_date</string> <string>listbox_delivery_start_date</string>
<string>listbox_stop_date</string> <string>listbox_delivery_stop_date</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
<string>list_method</string> <string>list_method</string>
<string>selection_name</string> <string>selection_name</string>
<string>portal_types</string> <string>portal_types</string>
<string>default_params</string>
<string>editable_columns</string> <string>editable_columns</string>
</list> </list>
</value> </value>
...@@ -61,6 +62,24 @@ ...@@ -61,6 +62,24 @@
<key> <string>tales</string> </key> <key> <string>tales</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>all_columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>columns</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>default_params</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>editable_columns</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -69,10 +88,26 @@ ...@@ -69,10 +88,26 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>list_method</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>portal_types</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -101,11 +136,11 @@ ...@@ -101,11 +136,11 @@
<string>Resource</string> <string>Resource</string>
</tuple> </tuple>
<tuple> <tuple>
<string>start_date</string> <string>delivery.start_date</string>
<string>Begin</string> <string>Begin</string>
</tuple> </tuple>
<tuple> <tuple>
<string>stop_date</string> <string>delivery.stop_date</string>
<string>End</string> <string>End</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -163,11 +198,11 @@ ...@@ -163,11 +198,11 @@
<string>Resource</string> <string>Resource</string>
</tuple> </tuple>
<tuple> <tuple>
<string>start_date</string> <string>delivery.start_date</string>
<string>Begin</string> <string>Begin</string>
</tuple> </tuple>
<tuple> <tuple>
<string>stop_date</string> <string>delivery.stop_date</string>
<string>End</string> <string>End</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -185,16 +220,27 @@ ...@@ -185,16 +220,27 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>default_params</string> </key>
<value>
<list>
<tuple>
<string>checked_permission</string>
<string>View</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
<string>start_date</string> <string>delivery.start_date</string>
<string>Begin</string> <string>Begin</string>
</tuple> </tuple>
<tuple> <tuple>
<string>stop_date</string> <string>delivery.stop_date</string>
<string>End</string> <string>End</string>
</tuple> </tuple>
</list> </list>
...@@ -211,7 +257,7 @@ ...@@ -211,7 +257,7 @@
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -244,6 +290,22 @@ ...@@ -244,6 +290,22 @@
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI="> <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: [(\'checked_permission\', \'View\'), (\'source_project_uid\', here.getUid())]</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<global name="Method" module="Products.Formulator.MethodField"/> <global name="Method" module="Products.Formulator.MethodField"/>
...@@ -254,7 +316,7 @@ ...@@ -254,7 +316,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>method_name</string> </key> <key> <string>method_name</string> </key>
<value> <string>getSourceProjectRelatedValueList</string> </value> <value> <string>portal_catalog</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_start_date</string> </value> <value> <string>listbox_delivery_start_date</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>listbox_stop_date</string> </value> <value> <string>listbox_delivery_stop_date</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
......
455 456
\ 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