Commit 24df5a69 authored by Yusei Tahara's avatar Yusei Tahara

Calculating correct timezone is difficult. So, get datetime value from document accessor.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19065 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d4d47a84
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:cell.operation_date.toZone(cell.operation_date.localZone())</string> </value> <value> <string>python:(cell.section_mark==\'source\' and cell.getStartDate()) or cell.getStopDate()</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -639,6 +639,7 @@ delivery_mirror_section_title=""</string> </value> ...@@ -639,6 +639,7 @@ delivery_mirror_section_title=""</string> </value>
<dtml-var sequence-item>\n <dtml-var sequence-item>\n
</dtml-in>\n </dtml-in>\n
, delivery.start_date as operation_date\n , delivery.start_date as operation_date\n
, \'source\' as section_mark\n
, catalog.source_reference as specific_reference\n , catalog.source_reference as specific_reference\n
<dtml-if "not (stat or count) and query[\'order_by_expression\']">\n <dtml-if "not (stat or count) and query[\'order_by_expression\']">\n
<dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n <dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n
...@@ -817,6 +818,7 @@ UNION\n ...@@ -817,6 +818,7 @@ UNION\n
<dtml-var sequence-item>\n <dtml-var sequence-item>\n
</dtml-in>\n </dtml-in>\n
, delivery.stop_date as operation_date\n , delivery.stop_date as operation_date\n
, \'destination\' as section_mark\n
, catalog.destination_reference as specific_reference\n , catalog.destination_reference as specific_reference\n
<dtml-if "not (stat or count) and query[\'order_by_expression\']">\n <dtml-if "not (stat or count) and query[\'order_by_expression\']">\n
<dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n <dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n
...@@ -1265,6 +1267,7 @@ UNION\n ...@@ -1265,6 +1267,7 @@ UNION\n
<dtml-var sequence-item>\n <dtml-var sequence-item>\n
</dtml-in>\n </dtml-in>\n
, delivery.start_date as operation_date\n , delivery.start_date as operation_date\n
, \'source\' as section_mark\n
, catalog.source_reference as specific_reference\n , catalog.source_reference as specific_reference\n
<dtml-if "not (stat or count) and query[\'order_by_expression\']">\n <dtml-if "not (stat or count) and query[\'order_by_expression\']">\n
<dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n <dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n
...@@ -1443,6 +1446,7 @@ UNION\n ...@@ -1443,6 +1446,7 @@ UNION\n
<dtml-var sequence-item>\n <dtml-var sequence-item>\n
</dtml-in>\n </dtml-in>\n
, delivery.stop_date as operation_date\n , delivery.stop_date as operation_date\n
, \'destination\' as section_mark\n
, catalog.destination_reference as specific_reference\n , catalog.destination_reference as specific_reference\n
<dtml-if "not (stat or count) and query[\'order_by_expression\']">\n <dtml-if "not (stat or count) and query[\'order_by_expression\']">\n
<dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n <dtml-let order_column="query[\'order_by_expression\'].split(\' \')[0]">\n
......
573 575
\ 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