[Erp5-report] r19617 - in /erp5/trunk/bt5/erp5_accounting: WorkflowTemplateItem/portal_work...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 29 17:32:07 CET 2008
Author: jerome
Date: Fri Feb 29 17:32:06 2008
New Revision: 19617
URL: http://svn.erp5.org?rev=19617&view=rev
Log:
Third party and bank accounts were reversed in the validation scripts, as a result, wrong error messages were shown to the user
Modified:
erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml
erp5/trunk/bt5/erp5_accounting/bt/revision
Modified: erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml?rev=19617&r1=19616&r2=19617&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml (original)
+++ erp5/trunk/bt5/erp5_accounting/WorkflowTemplateItem/portal_workflow/accounting_workflow/scripts/validateTransactionLines.xml Fri Feb 29 17:32:06 2008
@@ -91,11 +91,12 @@
\n
for account, third_party, bank_account in (\n
( line.getSourceValue(portal_type=\'Account\'),\n
- line.getSourcePaymentValue(portal_type=bank_account_portal_type),\n
- line.getDestinationSectionValue(portal_type=section_portal_type_list),),\n
+ line.getDestinationSectionValue(portal_type=section_portal_type_list),\n
+ line.getSourcePaymentValue(portal_type=bank_account_portal_type),),\n
( line.getDestinationValue(portal_type=\'Account\'),\n
- line.getDestinationPaymentValue(portal_type=bank_account_portal_type),\n
- line.getSourceSectionValue(portal_type=section_portal_type_list),), ):\n
+ line.getSourceSectionValue(portal_type=section_portal_type_list),\n
+ line.getDestinationPaymentValue(portal_type=bank_account_portal_type),),\n
+ ):\n
\n
if account is not None and account.getValidationState() != \'validated\':\n
raise ValidationFailed, N_(\n
Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=19617&r1=19616&r2=19617&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Fri Feb 29 17:32:06 2008
@@ -1,1 +1,1 @@
-624
+626
More information about the Erp5-report
mailing list