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
# programmers who take the whole responsability of assessing all potential
......@@ -31,15 +31,16 @@ class TaskOrder:
"""
_properties = (
{
'id' : 'task_line'
, 'storage_id' : 'default_task_line'
, 'description' : 'The default task line for a task.'
, 'type' : 'content'
, 'portal_type' : ( 'Task Line', )
, 'acquired_property_id': ( 'quantity', 'quantity_unit', 'price')
, 'mode' : 'w'
},
{ 'id' : 'task_line',
'storage_id' : 'default_task_line',
'description' : 'The default task line for a task.',
'type' : 'content',
'portal_type' : ( 'Task Line', ),
'acquired_property_id': ( 'quantity', 'quantity_unit', 'price',
'quantity_unit_title',
'quantity_unit_logical_path'),
'mode' : 'w',
},
)
......
......@@ -362,11 +362,11 @@
<string>Total</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>task_line_quantity_unit_title</string>
<string>Unit</string>
</tuple>
<tuple>
<string>translated_simulation_state</string>
<string>translated_simulation_state_title</string>
<string>State</string>
</tuple>
</list>
......
......@@ -362,7 +362,7 @@
<string>Total</string>
</tuple>
<tuple>
<string>quantity_unit</string>
<string>quantity_unit_title</string>
<string>Unit</string>
</tuple>
<tuple>
......@@ -535,7 +535,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Project Reports</string> </value>
<value> <string>Task Reports</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
......
......@@ -105,7 +105,7 @@
<string>my_destination_section</string>
<string>my_destination_project_title</string>
<string>my_trade_condition_title</string>
<string>state</string>
<string>my_translated_simulation_state_title</string>
</list>
</value>
</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