mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Remove correction of statement line and ref in order to let a new module take care of that. This is now fixed by bank_statement_import_invoices_fix
This commit is contained in:
@@ -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
|
||||
=============
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user