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
source_project_uid = source_project_uid_list)]\n
task_line_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
return task_line_list\n
</string> </value>
......
......@@ -14,10 +14,8 @@
<value>
<list>
<string>title</string>
<string>lines</string>
<string>columns</string>
<string>all_columns</string>
<string>sort</string>
<string>list_method</string>
<string>stat_method</string>
<string>selection_name</string>
......@@ -131,11 +129,11 @@
<string>Estimated Time</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>quantity_unit_title</string>
<string>Unit</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>getTranslatedSimulationStateTitle</string>
<string>State</string>
</tuple>
</list>
......@@ -205,11 +203,11 @@
<string>Estimated Time</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>quantity_unit_title</string>
<string>Unit</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>getTranslatedSimulationStateTitle</string>
<string>State</string>
</tuple>
</list>
......@@ -246,10 +244,6 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</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>
......@@ -294,17 +288,6 @@
<key> <string>separate_tree_data</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>id</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>stat_method</string> </key>
<value>
......@@ -317,7 +300,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Listbox</string> </value>
<value> <string>Tasks</string> </value>
</item>
</dictionary>
</value>
......
......@@ -14,10 +14,8 @@
<value>
<list>
<string>title</string>
<string>lines</string>
<string>columns</string>
<string>all_columns</string>
<string>sort</string>
<string>list_method</string>
<string>stat_method</string>
<string>selection_name</string>
......@@ -25,7 +23,6 @@
<string>editable_columns</string>
<string>report_tree</string>
<string>report_root_list</string>
<string>list_action</string>
</list>
</value>
</item>
......@@ -131,11 +128,11 @@
<string>Estimated Time</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>quantity_unit_title</string>
<string>Unit</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>getTranslatedSimulationStateTitle</string>
<string>State</string>
</tuple>
</list>
......@@ -205,11 +202,11 @@
<string>Estimated Time</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>quantity_unit_title</string>
<string>Unit</string>
</tuple>
<tuple>
<string>simulation_state</string>
<string>getTranslatedSimulationStateTitle</string>
<string>State</string>
</tuple>
</list>
......@@ -238,14 +235,6 @@
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</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>
<key> <string>list_method</string> </key>
<value>
......@@ -286,17 +275,6 @@
<key> <string>separate_tree_data</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>id</string>
<string>id</string>
</tuple>
</list>
</value>
</item>
<item>
<key> <string>stat_method</string> </key>
<value>
......@@ -309,7 +287,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Listbox</string> </value>
<value> <string>Task Reports</string> </value>
</item>
</dictionary>
</value>
......
425
\ No newline at end of file
426
\ 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