Community mailing list archives

community@mail.odoo.com

POS multi-currency support.

by
Kai Zhu
- 06/02/2016 22:13:28
Hi community,

I’m trying to get pos work with multi-currency.

Here I found some problem:

If I set the currency for Payment Method (the Journal) which will automatically set the same currency for account, then account_move.py:AccountMoveLine._check_currency will check to see if line’s currency is equal to line’s account currency.
But, account_move.py:AccountMoveLine._get_currency will fail to get currency due to absence of ‘default_journal_id’ in context, here I guess the pos is not ready to support multi-currency, is that right?

ERROR: 'The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal.’

When trying to get rid of this error, the only work way here is to remove the secondary(manually specified?) currency on the account,
I’m not fully understanding the later one - “select a milt-currency view one the journal”.


Expecting more explain.

Thanks all.

by K