Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Error occurred while validating the field(s) currency_id: The selected account of your Journal Entry forces to provide a seconda

By
Sandeep Kumar
on 9/13/13, 6:22 AM 4,925 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

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

MONDIN
on 9/23/13, 10:52 AM

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

Kingsley
on 12/8/15, 6:21 PM
0
vinod.clt
On 3/5/16, 3:29 AM

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

0
Jos De Graeve
On 5/6/14, 6:08 AM

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

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?

Daniel Blanco
on 3/30/15, 11:15 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 9/13/13, 6:22 AM
Seen: 4925 times
Last updated: 3/5/16, 3:29 AM