Commit 5790e0ea authored by Jérome Perrin's avatar Jérome Perrin

display quantity unit title in Task Module view.

( + minor changes )



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8140 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b945cae4
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsability of assessing all potential
...@@ -31,14 +31,15 @@ class TaskOrder: ...@@ -31,14 +31,15 @@ class TaskOrder:
""" """
_properties = ( _properties = (
{ { 'id' : 'task_line',
'id' : 'task_line' 'storage_id' : 'default_task_line',
, 'storage_id' : 'default_task_line' 'description' : 'The default task line for a task.',
, 'description' : 'The default task line for a task.' 'type' : 'content',
, 'type' : 'content' 'portal_type' : ( 'Task Line', ),
, 'portal_type' : ( 'Task Line', ) 'acquired_property_id': ( 'quantity', 'quantity_unit', 'price',
, 'acquired_property_id': ( 'quantity', 'quantity_unit', 'price') 'quantity_unit_title',
, 'mode' : 'w' 'quantity_unit_logical_path'),
'mode' : 'w',
}, },
) )
......
...@@ -362,11 +362,11 @@ ...@@ -362,11 +362,11 @@
<string>Total</string> <string>Total</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>task_line_quantity_unit_title</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple> <tuple>
<string>translated_simulation_state</string> <string>translated_simulation_state_title</string>
<string>State</string> <string>State</string>
</tuple> </tuple>
</list> </list>
......
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
<string>Total</string> <string>Total</string>
</tuple> </tuple>
<tuple> <tuple>
<string>quantity_unit</string> <string>quantity_unit_title</string>
<string>Unit</string> <string>Unit</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -535,7 +535,7 @@ ...@@ -535,7 +535,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Project Reports</string> </value> <value> <string>Task Reports</string> </value>
</item> </item>
<item> <item>
<key> <string>url_columns</string> </key> <key> <string>url_columns</string> </key>
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<string>my_destination_section</string> <string>my_destination_section</string>
<string>my_destination_project_title</string> <string>my_destination_project_title</string>
<string>my_trade_condition_title</string> <string>my_trade_condition_title</string>
<string>state</string> <string>my_translated_simulation_state_title</string>
</list> </list>
</value> </value>
</item> </item>
......
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