[FIX] Do not provide a secondary currency when posting entries from bank statment if the same than the company to respect the new constraints.
bzr revid: joel.grandguillaume@camptocamp.com-20121026113502-jsxdf5swqfizfcen
This commit is contained in:
parent
9527a10ba5
commit
6ef3db0a86
|
@ -311,7 +311,7 @@ class account_bank_statement(osv.osv):
|
|||
'statement_id': st_line.statement_id.id,
|
||||
'journal_id': st_line.statement_id.journal_id.id,
|
||||
'period_id': st_line.statement_id.period_id.id,
|
||||
'currency_id': cur_id,
|
||||
'currency_id': amount_currency and cur_id,
|
||||
'amount_currency': amount_currency,
|
||||
'analytic_account_id': analytic_id,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue