Commit ad213f45 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify Order_printAsODSSummary.

* add Description and Shipping Date. 
* change the column name from Stop Date to Delivery Date.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40585 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3e40fdb4
...@@ -101,7 +101,8 @@ else:\n ...@@ -101,7 +101,8 @@ else:\n
restrictedTraverse(\'quantity_unit/\' + default_quantity_unit).getTitle()\n restrictedTraverse(\'quantity_unit/\' + default_quantity_unit).getTitle()\n
\n \n
column_list = [(\'reference\', \'Reference\'), (\'title\', \'Title\'), \\\n column_list = [(\'reference\', \'Reference\'), (\'title\', \'Title\'), \\\n
(\'stop_date\', \'Stop Date\'), (\'per_line_total_price\', \'Total Price\')]\n (\'description\', \'Description\'), (\'start_date\', \'Shipping Date\'), \\\n
(\'stop_date\', \'Delivery Date\'), (\'per_line_total_price\', \'Total Price\')]\n
if error is None:\n if error is None:\n
for line in line_list:\n for line in line_list:\n
if error is not None:\n if error is not None:\n
...@@ -286,8 +287,7 @@ return context.Order_viewODSSummary(format=format)\n ...@@ -286,8 +287,7 @@ return context.Order_viewODSSummary(format=format)\n
<string>context_relative_url</string> <string>context_relative_url</string>
<string>sortMovement</string> <string>sortMovement</string>
<string>movement_type_list</string> <string>movement_type_list</string>
<string>append</string> <string>$list0</string>
<string>$append0</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>x</string> <string>x</string>
<string>line_list</string> <string>line_list</string>
......
1033 1034
\ 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