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 ...@@ -80,9 +80,7 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n
\n \n
site = transaction.getSourceValue()\n site = transaction.getSourceValue()\n
\n \n
#if not transaction.Baobab_checkCounterOpened(site):\n transaction.Baobab_checkCounterOpened(site)\n
# msg = Message(domain = "ui", message="Counter is not opened")\n
# raise ValidationFailed, (msg,)\n
\n \n
# For safety, check the consistency again.\n # For safety, check the consistency again.\n
context.validateConsistency(state_change)\n context.validateConsistency(state_change)\n
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string>Return On Error</string> </value> <value> <string>Reject</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
......
...@@ -86,14 +86,6 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n ...@@ -86,14 +86,6 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n
\n \n
context.Baobab_checkCounterOpened(source)\n context.Baobab_checkCounterOpened(source)\n
\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 # 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 # if so, this means that we are saling such kinds of check, thus\n
# we must change the position of the customer account\n # we must change the position of the customer account\n
......
361 362
\ No newline at end of file \ 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