Ir al contenido
Menú
Se marcó esta pregunta
6 Respuestas
16208 Vistas

I get the following error why?

Odoo Warning - Validation Error Error while validating constraint The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account. None

Avatar
Descartar

Please use a meaningful title. I did edit for now.

Thanks for the help

Mejor respuesta

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
Descartar
Mejor respuesta

Nihats´ answer is correct. I am unable to reply to his comment as I have no Karma :-(

Firstly in Odoo 10 I was incapable of finding anywhere were it indicated secondary currency, as other solutions in the past have been given.

It is as simple as not defining a Currency to that account... just leave it blank. If you did define a currency, just erase it and save the changes with a blank currency. Odoo will use your default Company currency if it is blank and it will no longer give the error.

I do not know why something as simple is not explained in an easier way on the documentation.

Avatar
Descartar

I tend to agree; setting a bank account currency to your company currency should generate a warning at least.

I wonder if there is a good reason they allow this without a warning?

Mejor respuesta

Please check the assigned currencies of your corresponding accounts and journals. As long as it is not necessary you should not preassign currencies except you know exactly what you are doing.

Avatar
Descartar
Mejor respuesta

Hi,

The account must not have company currency as secondary currency. i.e. if my company currency is USD, my accounts can not have USD as second currency, it would raise warning while posting journal entry. You should remove that currency from account.

Regards,

Avatar
Descartar