Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3784 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 7 25
711
0
thg 1 21
2729
4
thg 9 16
5384
0
thg 5 25
892
1
thg 11 24
1396