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

Is there any way to put two fields inside the same column in the tree view in  odoo  14 ?

It would be something like this:


|           Header              |

|Field1    Field2             |


The objective of this is to be able to put two fields in the same column, but that only one or the other is shown based on certain values, but that whatever is shown is always aligned in the same column with respect to the other rows



Ảnh đại diện
Huỷ bỏ

To achieve this create computed field

Câu trả lời hay nhất

Hi,

You can create a compute field and compute the value from other fields(two fields) and display value in this. So it will be something like concatenated value of first two fields.

Compute field in odoo:  https://www.youtube.com/watch?v=RirBoceNT5Q

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 22
3509
2
thg 2 18
5886
1
thg 10 15
3428
0
thg 2 23
3731
1
thg 2 23
3138