From 5d84bf7f6430bce91df9ebb32d2da0f212bbeb88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 26 Oct 2006 12:55:25 +0000
Subject: [PATCH] use the original contentValues interface, not the ERP5Type
 patched version for backward compatilbity.

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

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getInvoiceTransactionLineList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getInvoiceTransactionLineList.xml
index 5056ffedcf..e0217fa9f6 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getInvoiceTransactionLineList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_getInvoiceTransactionLineList.xml
@@ -80,7 +80,8 @@ def sortInvoiceTransactionLine(a, b):\n
   b_id = sort_dict.get(b.getId(), b.getId())\n
   return cmp(a_id, b_id)\n
 \n
-object_list = list(context.contentValues(portal_type=portal_type))\n
+object_list = list(context.contentValues(\n
+                      filter={\'portal_type\': portal_type}))\n
 object_list.sort(sortInvoiceTransactionLine)\n
 return object_list\n
 </string> </value>
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index d97edbb29f..105d7d9ad3 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-99
\ No newline at end of file
+100
\ No newline at end of file
-- 
2.30.9