[FIX] account: import invoice in multicurrency
Missing values for fields amount_curreny and currency_id when importing an invoice from a bank statement. Fixes #3830, opw 618764
This commit is contained in:
parent
138cc11a5f
commit
8b95a8424b
|
@ -79,6 +79,8 @@ class account_statement_from_invoice_lines(osv.osv_memory):
|
|||
'statement_id': statement_id,
|
||||
'ref': line.ref,
|
||||
'date': statement.date,
|
||||
'amount_currency': line.amount_currency,
|
||||
'currency_id': line.currency_id.id,
|
||||
}, context=context)
|
||||
return {'type': 'ir.actions.act_window_close'}
|
||||
|
||||
|
|
Loading…
Reference in New Issue