diff --git a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistencyAndValidatePositionAccounting.xml b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistencyAndValidatePositionAccounting.xml index f711495789385bb7d5a0a4b2b9716756b3229adf..393c22105002af688ce39cd6c4f53f7ffe398ee5 100644 --- a/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistencyAndValidatePositionAccounting.xml +++ b/bt5/erp5_banking_cash/WorkflowTemplateItem/portal_workflow/account_incident_workflow/scripts/checkConsistencyAndValidatePositionAccounting.xml @@ -128,7 +128,7 @@ exchange_rate_list = transaction.CurrencyExchange_getExchangeRateList(from_curre start_date=transaction.getStartDate())\n if len(exchange_rate_list) == 0:\n raise ValidationError, \'Convertion between currencies %s and %s is unknown.\'\n -price = context.getSourceTotalAssetPrice() * exchange_rate_list[0]\n +price = price * exchange_rate_list[0]\n line = transaction.get(\'movement\')\n \n in_list = transaction.objectValues(portal_type=\'Incoming Account Incident Line\')\n diff --git a/bt5/erp5_banking_cash/bt/revision b/bt5/erp5_banking_cash/bt/revision index 680cc9c31b9b6e21018717e7f573c218c0766d87..b1ef57c1f7cdbf7b9e0134512a22b8cc71c410df 100644 --- a/bt5/erp5_banking_cash/bt/revision +++ b/bt5/erp5_banking_cash/bt/revision @@ -1 +1 @@ -263 \ No newline at end of file +265 \ No newline at end of file