Commit d151f07f authored by Jérome Perrin's avatar Jérome Perrin

Fix name error in this workflow script. No time to write the missing test :/

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18442 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b13c0108
......@@ -120,7 +120,7 @@ for line in transaction.contentValues(filter=dict(\n
# 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 @@ transaction.AccountingTransaction_deleteEmptyLines(redirect=0)\n
<string>None</string>
<string>unicode</string>
<string>bank_account_currency</string>
<string>transaction_line</string>
</tuple>
</value>
</item>
......
533
\ No newline at end of file
534
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment