Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3759 Weergaven

I want to restrict some accounts to allow transactions only in my base currency (accounts representing bank and cash accounts). But I get the following validation error when raising a customer invoice, implying that the system sees my account as an incorrectly formed foreign currency account rather than just a binding to the base currency.

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.

How can I restrict postings (to base currency)  to a particular account without breaching the constraint?

Avatar
Annuleer
Beste antwoord

Hey Tim,

I don't know if there is any module to do this but you can definitely achieve it using record rules on account_move_line create. Give it a try and see if it works.


Regards,

Kinner

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jul. 25
662
0
jan. 21
2614
4
sep. 16
5358
0
mei 25
874
1
nov. 24
1371