Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
2521 Widoki

On Version 9.0e-20160617 (Enterprise Edition)

We haven't been able to validate invoices, due to this blocking 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

The Account concerned is Product Sales, and it actually has only 1 currency (EUR). Where can the above stated "secondary currency" be manipulated?

Thanks for a tip or two.

Regards, NEBIZ

Awatar
Odrzuć
Najlepsza odpowiedź

Check the currency definition of the corresponding journal itself or the currency definition of the contra-account defined in the journal.

An accounting entry (posting) assigns an amount to an account and simultaneously to a contra-account (offset account / "Gegenkonto" in german) .

Do not explicitely define currencies to accounts and journals, as long as you do not exactly know what you are doing and why it is needed (it is only needed in rare cases).

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Without knowing what a "contra-account" is, we set all Accounts in the Journal to EUR, to no avail :(

One of the strange things is that Accounting > Settings don't save, instead throw following error.

File "/home/v9devblaze/odoo/openerp/addons/account/models/res_config.py", line 169, in onchange_company_id

self.default_sale_tax_id = isinstance(taxes_id, list) and taxes_id[0] or taxes_id

IndexError: list index out of range

Consequently the Accounting > Settings > Default Company Currency loads empty.

Update 1:

We managed to resolve the empty Default company currency issue, which seems to be unrelated to the invoice-validation problem, by removing the following user-default of taxes_id (from Settings > Technical > User-defined Default, in Dev-Mode):

Separately..

Going by this video from an older OpenERP version https://youtu.be/1EZ2HwJ7j80, there used to be such a field called Secondary Currency. Does the concept of Secondary Currency for Journal Accounts still exist in odoo9, especially for single-currency setups?

If this is the "Contra-Account" as Erwin Trevisan suggested, where can Contra-Accounts be manipulated?

Thank you in advance..

___

Update 2

Following Erwin's advise, we removed the mention of EUR currency on the related Accounts (specifically 3: 101200 Accounts Receivable, 111200 Current Liabilities, 200000 Product Sales). That got rid of the original error about "Secondary currency..".

Awatar
Odrzuć

Most probably yes. You should check your tax configuration. For the rest see my amended answer.

Powiązane posty Odpowiedzi Widoki Czynność
1
mar 15
7398
0
kwi 17
4550
4
kwi 25
1300
5
lip 19
16190
1
mar 15
5461