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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 12 14:28:19 CET 2007


Author: vincent
Date: Mon Mar 12 14:28:05 2007
New Revision: 13362

URL: http://svn.erp5.org?rev=13362&view=rev
Log:
Revert partially previous commit : checking if a check is valid when changing its state through the stop_payment_module is pointless.

Modified:
    erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml
    erp5/trunk/bt5/erp5_banking_check/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml?rev=13362&r1=13361&r2=13362&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml (original)
+++ erp5/trunk/bt5/erp5_banking_check/WorkflowTemplateItem/portal_workflow/stop_payment_workflow/scripts/validatePositionAccounting.xml Mon Mar 12 14:28:05 2007
@@ -104,8 +104,6 @@
 \n
   # Then we will construct a new line for each check\n
   for item in check_list:\n
-    if not check.Check_isValid():\n
-      raise ValidationError, Message(domain=\'ui\', message=\'Check is in an invalid state\')\n
     delivery_line = transaction.newContent(portal_type=\'Checkbook Delivery Line\')\n
     item_dict = {}\n
     reference_range_min = None\n
@@ -253,8 +251,6 @@
                             <string>x</string>
                             <string>id_list</string>
                             <string>item</string>
-                            <string>check</string>
-                            <string>ValidationError</string>
                             <string>delivery_line</string>
                             <string>item_dict</string>
                             <string>reference_range_min</string>

Modified: erp5/trunk/bt5/erp5_banking_check/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/bt/revision?rev=13362&r1=13361&r2=13362&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/bt/revision (original)
+++ erp5/trunk/bt5/erp5_banking_check/bt/revision Mon Mar 12 14:28:05 2007
@@ -1,1 +1,1 @@
-100
+102




More information about the Erp5-report mailing list