[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:
@@ -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'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user