[Erp5-report] r13737 - in /erp5/trunk/bt5/erp5_banking_cash: WorkflowTemplateItem/portal_wo...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Mar 28 10:53:00 CEST 2007


Author: aurel
Date: Wed Mar 28 10:52:30 2007
New Revision: 13737

URL: http://svn.erp5.org?rev=13737&view=rev
Log:
check incident type is defined

Modified:
    erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/usual_cash_incident_workflow/scripts/checkConsistency.xml
    erp5/trunk/bt5/erp5_banking_cash/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/usual_cash_incident_workflow/scripts/checkConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/usual_cash_incident_workflow/scripts/checkConsistency.xml?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/usual_cash_incident_workflow/scripts/checkConsistency.xml (original)
+++ erp5/trunk/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/usual_cash_incident_workflow/scripts/checkConsistency.xml Wed Mar 28 10:52:30 2007
@@ -84,6 +84,10 @@
 if not transaction.Baobab_checkCounterDateOpen(site=var_source, date=date):\n
   msg = Message(domain = "ui", message="Counter Date is not opened")\n
   raise ValidationFailed, (msg,)\n
+\n
+if var_type in (None, \'\'):\n
+   msg = Message(domain = "ui", message="Incident Type must be defined.")\n
+   raise ValidationFailed, (msg,)\n
 \n
 if (var_type == \'reception\' and var_source_transport is None):\n
    msg = Message(domain = "ui", message="Remote Site not null.")\n

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/revision?rev=13737&r1=13736&r2=13737&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/revision Wed Mar 28 10:52:30 2007
@@ -1,1 +1,1 @@
-240
+242




More information about the Erp5-report mailing list