From 9bccba97ec92e3a53531b9fc0bd9387a7f807036 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Fri, 26 Mar 2010 20:43:08 +0000
Subject: [PATCH] fix typos.

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

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml
index c5961f25d4..97bc820416 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingTransaction_isSourceView.xml
@@ -69,9 +69,9 @@ if source is not None and section_category:\n
 # then we\'ll not show source view\n
 destination = context.getDestinationSectionValue()\n
 if destination is not None and section_category:\n
-  if source.getPortalType() == \'Person\':\n
+  if destination.getPortalType() == \'Person\':\n
     return True\n
-  if source.isMemberOf(section_category):\n
+  if destination.isMemberOf(section_category):\n
     return False\n
 \n
 # If we reach this point, none of the sections are member of the preferred section\n
diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision
index c00ea42db8..43da71c576 100644
--- a/bt5/erp5_accounting/bt/revision
+++ b/bt5/erp5_accounting/bt/revision
@@ -1 +1 @@
-1147
\ No newline at end of file
+1148
\ No newline at end of file
-- 
2.30.9