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
\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
context.Baobab_checkCounterOpened(site)\n
]]></string> </value>
......
300
\ No newline at end of file
303
\ 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