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>
...@@ -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>
...@@ -205,11 +203,11 @@ ...@@ -205,11 +203,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>
...@@ -246,10 +244,6 @@ ...@@ -246,10 +244,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>lines</string> </key>
<value> <int>10</int> </value>
</item>
<item> <item>
<key> <string>list_action</string> </key> <key> <string>list_action</string> </key>
<value> <string>Project_viewLineList</string> </value> <value> <string>Project_viewLineList</string> </value>
...@@ -294,17 +288,6 @@ ...@@ -294,17 +288,6 @@
<key> <string>separate_tree_data</string> </key> <key> <string>separate_tree_data</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>id</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>stat_method</string> </key> <key> <string>stat_method</string> </key>
<value> <value>
...@@ -317,7 +300,7 @@ ...@@ -317,7 +300,7 @@
</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>
...@@ -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>
...@@ -205,11 +202,11 @@ ...@@ -205,11 +202,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>
...@@ -238,14 +235,6 @@ ...@@ -238,14 +235,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>lines</string> </key>
<value> <int>10</int> </value>
</item>
<item>
<key> <string>list_action</string> </key>
<value> <string>Project_viewLineList</string> </value>
</item>
<item> <item>
<key> <string>list_method</string> </key> <key> <string>list_method</string> </key>
<value> <value>
...@@ -286,17 +275,6 @@ ...@@ -286,17 +275,6 @@
<key> <string>separate_tree_data</string> </key> <key> <string>separate_tree_data</string> </key>
<value> <int>0</int> </value> <value> <int>0</int> </value>
</item> </item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>id</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>stat_method</string> </key> <key> <string>stat_method</string> </key>
<value> <value>
...@@ -309,7 +287,7 @@ ...@@ -309,7 +287,7 @@
</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