Commit d3b5fe29 authored by Sebastien Robin's avatar Sebastien Robin

fixed the way the counter is checked

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15291 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4bcd4b63
...@@ -164,10 +164,7 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n ...@@ -164,10 +164,7 @@ transaction.Baobab_checkCounterDateOpen(site=source, date=date)\n
\n \n
site = transaction.getSourceValue()\n site = transaction.getSourceValue()\n
\n \n
if \'guichet\' in site.getVaultType():\n context.Baobab_checkCounterOpened(site)\n
if not context.Baobab_checkCounterOpened(site):\n
msg = Message(domain = "ui", message="Counter is not opened")\n
raise ValidationFailed, (msg,)\n
]]></string> </value> ]]></string> </value>
......
300 303
\ 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