Skip to Content
Menu
This question has been flagged
6 Replies
15456 Views

Error occurred while validating the field(s) currency_id: 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.

i got this error when I used multi currency. I set same currency on Journals and its accounts

Avatar
Discard

Hi Sandy,

I had the error in the same conditions. I applied the correction proposed for 6.1, i.e, modification of addons/account/account_move_line.py line 600 function _check_currency as per http://forum.openerp.com/forum/topic35401.html and It worked. Caveat: I do know enough to weight the side effect of this correction : it just bypasses a functional check.

cheers

Didier

I did as MONDIN did too. It brought out thesame error when I tried reconciling my Bank Statement in Naira, with an Intermediary account, having a USD secondary currency. I don't feel it will cause any harm, because the USD amount has been converted to my Base Currency in Naira, while trying to do the reconciliation. So i don't see why i cannot proceed further with the reconciliation. So overrode the code; see as follows; class account_move_line(osv.Model): _inherit = "account.move.line" #ref: ../addons/account/account_move_line.py line 616 for Odoo def _check_currency(self, cr, uid, ids, context=None): for l in self.browse(cr, uid, ids, context=context): if l.account_id.currency_id: if not l.currency_id or not l.currency_id.id == l.account_id.currency_id.id: return True # This is Changed to True return True or simply : def _check_currency(self, cr, uid, ids, context=None): return True

Best Answer

Chart of Account > Go to your account that you get error > Look for Account Currency > Remove currency if it is same as company currency. It can only be different currency than your company default currency. NOTE: If you cant see account currency in chart of account > the account form, it is because it is HIDDEN in form view. You need to edit the form and make it visible.

Avatar
Discard
Best Answer

Hi,

This usually happens if the bank account created for home currency is given another or same currency value in the Chart of Account. To resolve, delete the value found in the account currency field of the bank account .The error disappears

Avatar
Discard
Best Answer

Hi,

You get this error when working with a secondary currency on an account. If you use that account on a journal entry, OpenERP checks if the secondary currency of the journal entry is the same of that of the account. If, on the journal entry, you specify a different secondary currency, of no secondary currency at all, openerp gives this warning.

Regards,

Jos De Graeve

Apertoso

Avatar
Discard

Ok Jos, but where should I configure the multi-currency view in the journal? I only have one currency for the journal setting. Not currency selected?