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

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



頭像
捨棄

To achieve this create computed field

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 22
3501
2
2月 18
5875
1
10月 15
3425
0
2月 23
3724
1
2月 23
3130