From 0e2870efe63e608c8ffaf5f8881dd268f5cb0f26 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Fri, 29 Feb 2008 09:08:32 +0000
Subject: [PATCH] Ignore Stop Payments when checking for documents preventing a
 counter date from closing.

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

diff --git a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml
index 354bf76330..39e856c93d 100644
--- a/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml
+++ b/bt5/erp5_banking_core/SkinTemplateItem/portal_skins/erp5_banking_core/CounterDate_getRemainingOperationList.xml
@@ -71,7 +71,7 @@ site_uid = site.getUid()\n
 site_url = site.getRelativeUrl()\n
 operation_list = []\n
 exception_portal_type_list = [\'Paper Money Deposit\', \'Foreign Check\', \'External Banking Operation\', \'Account Transfer\', \'Check Deposit\',\n
-                              \'Checkbook Reception\', \'Accounting Cancellation\']\n
+                              \'Checkbook Reception\', \'Accounting Cancellation\', \'Stop Payment\']\n
 if site_uid is not None:\n
   not_closed_state_list = (\'ordered\',\'planned\',\'confirmed\',\'started\',\'stopped\', \'ready\', \'deposited\', \'received\', \'finished\')\n
   portal_type_list = [x for x in context.getPortalDeliveryTypeList()\n
-- 
2.30.9