[Erp5-report] r20464 - in /erp5/trunk/bt5/erp5_banking_check: WorkflowTemplateItem/portal_w...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 14 10:01:14 CEST 2008


Author: aurel
Date: Mon Apr 14 10:01:13 2008
New Revision: 20464

URL: http://svn.erp5.org?rev=20464&view=rev
Log:
user must defined site on document

Modified:
    erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/scripts/validateConsistency.xml
    erp5/trunk/bt5/erp5_banking_check/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/scripts/validateConsistency.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/scripts/validateConsistency.xml?rev=20464&r1=20463&r2=20464&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/scripts/validateConsistency.xml (original)
+++ erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/check_deposit_workflow/scripts/validateConsistency.xml Mon Apr 14 10:01:13 2008
@@ -86,6 +86,10 @@
 if transaction.getDestinationSection() in ("", None) and \\\n
        transaction.getDestinationPayment() in ("", None):\n
   msg = Message(domain=\'ui\', message="You must defined an account or and accounting code as destination.")\n
+  raise ValidationFailed, (msg,)\n
+\n
+if transaction.getSite() in ("", None):\n
+  msg = Message(domain=\'ui\', message="You must defined site on document.")\n
   raise ValidationFailed, (msg,)\n
 \n
 # Check the amount.\n

Modified: erp5/trunk/bt5/erp5_banking_check/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/bt/revision?rev=20464&r1=20463&r2=20464&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_check/bt/revision Mon Apr 14 10:01:13 2008
@@ -1,1 +1,1 @@
-394
+396




More information about the Erp5-report mailing list