跳至內容
選單
此問題已被標幟
1 回覆
3770 瀏覽次數

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?

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 25
699
0
1月 21
2685
4
9月 16
5378
0
5月 25
887
1
11月 24
1390