[Erp5-report] r18442 - in /erp5/trunk/bt5/erp5_accounting: WorkflowTemplateItem/portal_work...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 20 09:48:36 CET 2007


Author: jerome
Date: Thu Dec 20 09:48:35 2007
New Revision: 18442

URL: http://svn.erp5.org?rev=18442&view=rev
Log:
Fix name error in this workflow script. No time to write the missing test :/

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=18442&r1=18441&r2=18442&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 Thu Dec 20 09:48:35 2007
@@ -120,7 +120,7 @@
         # accounting.\n
         bank_account_currency = bank_account.getProperty(\'price_currency\')\n
         if bank_account_currency is not None and \\\n
-              bank_account_currency != transaction_line.getResource():\n
+              bank_account_currency != line.getResource():\n
           raise ValidationFailed, N_(\n
               "Bank Account ${bank_account_reference} "\n
               "uses ${bank_account_currency} as default currency",\n
@@ -215,7 +215,6 @@
                             <string>None</string>
                             <string>unicode</string>
                             <string>bank_account_currency</string>
-                            <string>transaction_line</string>
                           </tuple>
                         </value>
                     </item>

Modified: erp5/trunk/bt5/erp5_accounting/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_accounting/bt/revision?rev=18442&r1=18441&r2=18442&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_accounting/bt/revision (original)
+++ erp5/trunk/bt5/erp5_accounting/bt/revision Thu Dec 20 09:48:35 2007
@@ -1,1 +1,1 @@
-533
+534




More information about the Erp5-report mailing list