Commit 0e2870ef authored by Vincent Pelletier's avatar Vincent Pelletier

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
parent e24e9c24
...@@ -71,7 +71,7 @@ site_uid = site.getUid()\n ...@@ -71,7 +71,7 @@ site_uid = site.getUid()\n
site_url = site.getRelativeUrl()\n site_url = site.getRelativeUrl()\n
operation_list = []\n operation_list = []\n
exception_portal_type_list = [\'Paper Money Deposit\', \'Foreign Check\', \'External Banking Operation\', \'Account Transfer\', \'Check Deposit\',\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 if site_uid is not None:\n
not_closed_state_list = (\'ordered\',\'planned\',\'confirmed\',\'started\',\'stopped\', \'ready\', \'deposited\', \'received\', \'finished\')\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 portal_type_list = [x for x in context.getPortalDeliveryTypeList()\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment