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

In the accounting dashboard, I have several journals and each journal shows the total balance in the company's currency. I need to add under it, a new field that shows the total but in USD. So, at last, when I open the accounting dashboard I need to see journals in kanban view and they show the total in the company's currency and under it directly we need to see the total in USD. How can I achieve that?Thanks

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

Hi,

You have to add a new field in journal that computes the balance in the USD and then you can inherit the kanban view and add the field to it.

If you can use the studio, you can do the same from the user interface also.


1. Inherit account.journal model

2. Add new computed field, that computes balance in required currency

3. Add the field to kanban view


Thanks & Regards
Walnut Software Solutions

Ảnh đại diện
Huỷ bỏ
Tác giả

Can I have some code hints? Since I tried the following but the model : account.journal does not have balance field. Thanks

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 23
4818
0
thg 7 25
1001
0
thg 10 24
1580
0
thg 9 23
1846
3
thg 3 23
2589