From 0e6f6c181b05ec9d9aa999e8351b916c3d5b12b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 16 Jun 2017 07:08:02 +0000
Subject: [PATCH] accounting: use new related key name

772033ed5161a5ebf24867af0c7b6739c7798b49 removed
`parent_strict_group_uid` related key and added support to generate
`strict_parent_group_uid` related key
---
 .../erp5_accounting/AccountModule_getBankAccountItemList.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.py b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.py
index ad7cc4d4f0..07fda6e3ee 100644
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.py
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getBankAccountItemList.py
@@ -31,7 +31,7 @@ if organisation:
       while group_value.getPortalType() != 'Base Category':
         uid_list.append(group_value.getUid())
         group_value = group_value.getParentValue()
-      search_kw['parent_strict_group_uid'] = uid_list
+      search_kw['strict_parent_group_uid'] = uid_list
       search_kw['parent_portal_type'] = 'Organisation'
       bank_account_list = portal.portal_catalog(**search_kw)
 
-- 
2.30.9