From 34491cac86835996b43832f7758de3fa90d2dedd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 28 Jun 2007 13:44:25 +0000
Subject: [PATCH] Base_zGetNotGroupedMovementList only supports at_date, but we
 should pass to_date, so pass date -1

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15046 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 bb8652a568..2f2512fda0 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
@@ -93,7 +93,7 @@ total_credit = 0\n
 \n
 line_list = []\n
 for brain in portal.Base_zGetNotGroupedMovementList(\n
-                                at_date=from_date,\n
+                                at_date=from_date - 1, # this is not to_date\n
                                 simulation_state=params[\'simulation_state\'],\n
                                 # XXX this adds a need for account\n
                                 # ie. impossible to produce this report only\n
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index 52f6c1a7a0..0a1b63de8b 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-352
\ No newline at end of file
+353
\ No newline at end of file
-- 
2.30.9