[Erp5-report] r11497 - /erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workfl...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Nov 27 16:52:59 CET 2006
Author: aurel
Date: Mon Nov 27 16:52:57 2006
New Revision: 11497
URL: http://svn.erp5.org?rev=11497&view=rev
Log:
fix missing parenthese
Modified:
erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml
Modified: erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml?rev=11497&r1=11496&r2=11497&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/monetary_reception_workflow/scripts/checkDestination.xml Mon Nov 27 16:52:57 2006
@@ -73,7 +73,7 @@
\n
object = state_change.object\n
# first check if we have line defined\n
-if len(object.objectValues(portal_type=\'Cash Delivery Line\') == 0:\n
+if len(object.objectValues(portal_type=\'Cash Delivery Line\')) == 0:\n
msg = Message(domain="ui", message="No line defined on document.")\n
raise ValidationFailed, (msg,)\n
\n
@@ -114,9 +114,7 @@
<item>
<key> <string>errors</string> </key>
<value>
- <tuple>
- <string>invalid syntax (checkDestination, line 6)</string>
- </tuple>
+ <tuple/>
</value>
</item>
<item>
@@ -131,12 +129,25 @@
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
- <value> <int>0</int> </value>
+ <value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
- <tuple/>
+ <tuple>
+ <string>state_change</string>
+ <string>Products.ERP5Type.Message</string>
+ <string>Message</string>
+ <string>Products.DCWorkflow.DCWorkflow</string>
+ <string>ValidationFailed</string>
+ <string>_getattr_</string>
+ <string>object</string>
+ <string>len</string>
+ <string>msg</string>
+ <string>dest</string>
+ <string>_getitem_</string>
+ <string>line_letter</string>
+ </tuple>
</value>
</item>
</dictionary>
@@ -147,7 +158,7 @@
<item>
<key> <string>func_defaults</string> </key>
<value>
- <tuple/>
+ <none/>
</value>
</item>
<item>
More information about the Erp5-report
mailing list