From 3accd45ca5de4c6cc9d3692302ece83cff482eb0 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Thu, 13 Nov 2008 15:52:20 +0000
Subject: [PATCH] calling timezone() is missing.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24587 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Account_getNotGroupedAccountingTransactionList.xml          | 2 +-
 bt5/erp5_accounting/bt/revision                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml
index ee8a7f3d17..52b47f72df 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/Account_getNotGroupedAccountingTransactionList.xml
@@ -120,7 +120,7 @@ for brain in portal.Base_zGetNotGroupedMovementList(\n
 \n
     brain_date = brain.date\n
     if mvt.getStartDate():\n
-      brain_date = brain_date.toZone(mvt.getStartDate())\n
+      brain_date = brain_date.toZone(mvt.getStartDate().timezone())\n
     \n
     line_list.append(\n
           Object(uid=\'new_000\',\n
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index e7fdd11f9a..5be040fc33 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-807
\ No newline at end of file
+808
\ No newline at end of file
-- 
2.30.9