diff --git a/account_import_line_multicurrency_extension/README.rst b/account_import_line_multicurrency_extension/README.rst index 78e95f7f3..83208839e 100644 --- a/account_import_line_multicurrency_extension/README.rst +++ b/account_import_line_multicurrency_extension/README.rst @@ -10,11 +10,13 @@ Account Import Line Multi Currency Extension * When importing lines in currencies amount, amount currency and currency are now correctly handled -* When lines are imported the reference goes to the communication field (instead of reference of the bank statement line) in order to have a default proposal from the system during the reconciliation process. - A check has been added when pressing 'Reconcile' button: no zero amount are accepted. (since it is obviously an user error) +The following feature have been moved in `bank_statement_import_invoices_fix` +* When lines are imported the reference goes to the communication field (instead of reference of the bank statement line) in order to have a default proposal from the system during the reconciliation process. + + Configuration ============= diff --git a/account_import_line_multicurrency_extension/models/account_statement_from_invoice.py b/account_import_line_multicurrency_extension/models/account_statement_from_invoice.py index 9401cca3c..82daa1899 100644 --- a/account_import_line_multicurrency_extension/models/account_statement_from_invoice.py +++ b/account_import_line_multicurrency_extension/models/account_statement_from_invoice.py @@ -66,11 +66,11 @@ class account_statement_from_invoice_lines(models.TransientModel): 'invoice_id': line.invoice.id}) statement_line_obj.with_context(ctx).create({ - 'name': line.ref or '?', + 'name': line.name or '?', 'amount': amount, 'partner_id': line.partner_id.id, 'statement_id': statement_id, - 'ref': line.name, + 'ref': line.ref, 'date': statement.date, 'amount_currency': amount_currency, 'currency_id': line.currency_id.id,