Commit 92b5a1b2 authored by Aurel's avatar Aurel

must check counter is opened

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18835 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c263d7f
......@@ -80,9 +80,7 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n
\n
site = transaction.getSourceValue()\n
\n
#if not transaction.Baobab_checkCounterOpened(site):\n
# msg = Message(domain = "ui", message="Counter is not opened")\n
# raise ValidationFailed, (msg,)\n
transaction.Baobab_checkCounterOpened(site)\n
\n
# For safety, check the consistency again.\n
context.validateConsistency(state_change)\n
......
......@@ -21,7 +21,7 @@
</item>
<item>
<key> <string>actbox_name</string> </key>
<value> <string>Return On Error</string> </value>
<value> <string>Reject</string> </value>
</item>
<item>
<key> <string>actbox_url</string> </key>
......
......@@ -86,14 +86,6 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n
\n
context.Baobab_checkCounterOpened(source)\n
\n
\n
#site = transaction.getSourceValue()\n
\n
#if \'guichet\' in site.getVaultType():\n
# if not context.Baobab_checkCounterOpened(site):\n
# msg = Message(domain = "ui", message="Counter is not opened")\n
# raise ValidationFailed, (msg,)\n
\n
# First we have to look if we have some checks with some prices,\n
# if so, this means that we are saling such kinds of check, thus\n
# we must change the position of the customer account\n
......
361
\ No newline at end of file
362
\ No newline at end of file
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