Commit 09ee51f6 authored by Aurel's avatar Aurel

add missing import

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7438 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 06be0b44
...@@ -67,6 +67,9 @@ ...@@ -67,6 +67,9 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># put all counter in closing state for the given site\n <value> <string># put all counter in closing state for the given site\n
from Products.DCWorkflow.DCWorkflow import ValidationFailed\n
from Products.ERP5Type.Message import Message\n
\n
transaction = state_change.object\n transaction = state_change.object\n
\n \n
site = transaction.getSiteValue()\n site = transaction.getSiteValue()\n
...@@ -151,14 +154,16 @@ for counter in counter_list:\n ...@@ -151,14 +154,16 @@ for counter in counter_list:\n
<string>state_change</string> <string>state_change</string>
<string>args</string> <string>args</string>
<string>kw</string> <string>kw</string>
<string>Products.DCWorkflow.DCWorkflow</string>
<string>ValidationFailed</string>
<string>Products.ERP5Type.Message</string>
<string>Message</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>transaction</string> <string>transaction</string>
<string>site</string> <string>site</string>
<string>True</string> <string>True</string>
<string>hasattr</string> <string>hasattr</string>
<string>Message</string>
<string>msg</string> <string>msg</string>
<string>ValidationFailed</string>
<string>current_date</string> <string>current_date</string>
<string>append</string> <string>append</string>
<string>$append0</string> <string>$append0</string>
......
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