Commit 168deabf authored by Vincent Pelletier's avatar Vincent Pelletier

Fix use of undefined "transaction" variable.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13011 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81e04d54
...@@ -73,7 +73,7 @@ from Products.ERP5Type.Message import Message\n ...@@ -73,7 +73,7 @@ from Products.ERP5Type.Message import Message\n
\n \n
ob = state_change[\'object\']\n ob = state_change[\'object\']\n
\n \n
if not transaction.Baobab_checkCounterDateOpen():\n if not ob.Baobab_checkCounterDateOpen():\n
msg = Message(domain = "ui", message="Transaction not in the good accounting date")\n msg = Message(domain = "ui", message="Transaction not in the good accounting date")\n
raise ValidationFailed, (msg,)\n raise ValidationFailed, (msg,)\n
\n \n
...@@ -141,7 +141,6 @@ if ob.getSourceDecision() == 0:\n ...@@ -141,7 +141,6 @@ if ob.getSourceDecision() == 0:\n
<string>_getitem_</string> <string>_getitem_</string>
<string>ob</string> <string>ob</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>transaction</string>
<string>msg</string> <string>msg</string>
<string>len</string> <string>len</string>
</tuple> </tuple>
......
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