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:
Yannick Vaucher
2015-07-14 16:02:28 +02:00
parent 63c4997dbe
commit c2eca97bbe
2 changed files with 6 additions and 4 deletions

View File

@@ -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
=============

View File

@@ -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,