Commit 1151cb88 authored by Romain Courteaud's avatar Romain Courteaud

Improve listbox configuration

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19896 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 315ed832
...@@ -74,7 +74,7 @@ task_list = [x.getObject() for x in \\\n ...@@ -74,7 +74,7 @@ task_list = [x.getObject() for x in \\\n
source_project_uid = source_project_uid_list)]\n source_project_uid = source_project_uid_list)]\n
task_line_list = []\n task_line_list = []\n
for task in task_list:\n for task in task_list:\n
task_line_list.extend(task.objectValues(portal_type=\'Task Line\'))\n task_line_list.extend(task.contentValues(portal_type=\'Task Line\'))\n
\n \n
return task_line_list\n return task_line_list\n
</string> </value> </string> </value>
......
...@@ -14,10 +14,8 @@ ...@@ -14,10 +14,8 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>lines</string>
<string>columns</string> <string>columns</string>
<string>all_columns</string> <string>all_columns</string>
<string>sort</string>
<string>list_method</string> <string>list_method</string>
<string>stat_method</string> <string>stat_method</string>
<string>selection_name</string> <string>selection_name</string>
...@@ -91,7 +89,7 @@ ...@@ -91,7 +89,7 @@
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>all_columns</string> </key> <key> <string>all_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -131,11 +129,11 @@ ...@@ -131,11 +129,11 @@
<string>Estimated Time</string> <string>Estimated Time</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>quantity_unit_title</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple> <tuple>
<string>simulation_state</string> <string>getTranslatedSimulationStateTitle</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
...@@ -165,7 +163,7 @@ ...@@ -165,7 +163,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -205,18 +203,18 @@ ...@@ -205,18 +203,18 @@
<string>Estimated Time</string> <string>Estimated Time</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>quantity_unit_title</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple> <tuple>
<string>simulation_state</string> <string>getTranslatedSimulationStateTitle</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -247,21 +245,17 @@ ...@@ -247,21 +245,17 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>lines</string> </key> <key> <string>list_action</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>list_action</string> </key>
<value> <string>Project_viewLineList</string> </value> <value> <string>Project_viewLineList</string> </value>
</item> </item>
<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">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -272,7 +266,7 @@ ...@@ -272,7 +266,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>report_root_list</string> </key> <key> <string>report_root_list</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -283,11 +277,11 @@ ...@@ -283,11 +277,11 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>report_tree</string> </key> <key> <string>report_tree</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>project_task_selection</string> </value> <value> <string>project_task_selection</string> </value>
</item> </item>
<item> <item>
...@@ -295,18 +289,7 @@ ...@@ -295,18 +289,7 @@
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>stat_method</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>id</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>stat_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
...@@ -316,8 +299,8 @@ ...@@ -316,8 +299,8 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Listbox</string> </value> <value> <string>Tasks</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
...@@ -14,10 +14,8 @@ ...@@ -14,10 +14,8 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>lines</string>
<string>columns</string> <string>columns</string>
<string>all_columns</string> <string>all_columns</string>
<string>sort</string>
<string>list_method</string> <string>list_method</string>
<string>stat_method</string> <string>stat_method</string>
<string>selection_name</string> <string>selection_name</string>
...@@ -25,7 +23,6 @@ ...@@ -25,7 +23,6 @@
<string>editable_columns</string> <string>editable_columns</string>
<string>report_tree</string> <string>report_tree</string>
<string>report_root_list</string> <string>report_root_list</string>
<string>list_action</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -91,7 +88,7 @@ ...@@ -91,7 +88,7 @@
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>all_columns</string> </key> <key> <string>all_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -131,11 +128,11 @@ ...@@ -131,11 +128,11 @@
<string>Estimated Time</string> <string>Estimated Time</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>quantity_unit_title</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple> <tuple>
<string>simulation_state</string> <string>getTranslatedSimulationStateTitle</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
...@@ -165,7 +162,7 @@ ...@@ -165,7 +162,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>columns</string> </key> <key> <string>columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -205,18 +202,18 @@ ...@@ -205,18 +202,18 @@
<string>Estimated Time</string> <string>Estimated Time</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>quantity_unit_title</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple> <tuple>
<string>simulation_state</string> <string>getTranslatedSimulationStateTitle</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -239,21 +236,13 @@ ...@@ -239,21 +236,13 @@
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item> <item>
<key> <string>lines</string> </key> <key> <string>list_method</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>list_action</string> </key>
<value> <string>Project_viewLineList</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -264,7 +253,7 @@ ...@@ -264,7 +253,7 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>report_root_list</string> </key> <key> <string>report_root_list</string> </key>
<value> <value>
<list> <list>
<tuple> <tuple>
...@@ -275,11 +264,11 @@ ...@@ -275,11 +264,11 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>report_tree</string> </key> <key> <string>report_tree</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>selection_name</string> </key> <key> <string>selection_name</string> </key>
<value> <string>project_task_report_selection</string> </value> <value> <string>project_task_report_selection</string> </value>
</item> </item>
<item> <item>
...@@ -287,18 +276,7 @@ ...@@ -287,18 +276,7 @@
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>sort</string> </key> <key> <string>stat_method</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>id</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>stat_method</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value> </value>
...@@ -308,8 +286,8 @@ ...@@ -308,8 +286,8 @@
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Listbox</string> </value> <value> <string>Task Reports</string> </value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
......
425 426
\ 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