From 4f218ea697b75353930fdc9ff9c8fcef5eafbbc6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 30 Jan 2006 17:36:14 +0000
Subject: [PATCH] search accounting period in the organisation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5438 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_accounting/AccountingPeriod_init.xml      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_init.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_init.xml
index eaa8086fce..0f8b152813 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_init.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountingPeriod_init.xml
@@ -70,7 +70,7 @@
 
 portal = context.getPortalObject()\n
 \n
-period_list = portal.accounting_period_module\\\n
+period_list = context.getParentValue()\\\n
                             .searchFolder( simulation_state = [\'planned\', \'confirmed\', \'delivered\'],\n
                                                     sort_on = (\'delivery.stop_date\', \'ASC\'))\n
 \n
-- 
2.30.9