Commit 27052cbb authored by Aurel's avatar Aurel

check counter is opened only at ordered state

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18852 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bdf80a3b
......@@ -100,7 +100,8 @@ if destination is None:\n
\n
# check we are in an opened accounting day\n
transaction.Baobab_checkCounterDateOpen(site=destination, date=transaction.getStartDate())\n
transaction.Baobab_checkCounterOpened(destination)\n
if transaction.getSimulationState() == "ordered":\n
transaction.Baobab_checkCounterOpened(destination)\n
\n
site = transaction.getDestinationValue()\n
# I comment theses lines, because it\'s not necessary to control if all counter is opened or not at the moment : CISSE\n
......
567
\ No newline at end of file
568
\ 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