diff --git a/account_banking/banking_import_transaction.py b/account_banking/banking_import_transaction.py index 8051b627c..61d739c91 100644 --- a/account_banking/banking_import_transaction.py +++ b/account_banking/banking_import_transaction.py @@ -296,9 +296,9 @@ class banking_import_transaction(osv.osv): # creation. This also enables us to search for the invoice number in the # reference instead of the other way around, as most human interventions # *add* text. + ref = trans.reference.upper() + msg = trans.message.upper() if len(candidates) > 1 or not candidates: - ref = trans.reference.upper() - msg = trans.message.upper() # The manual usage of the sales journal creates moves that # are not tied to invoices. Thanks to Stefan Rijnhart for # reporting this.