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

Currently using odoo v14 Enterprise, and checking some features in Odoo studio.

Is it possible to change the string attribute of a field via xpath and changing it to an fa-icon?

Image example:


What I want to achieve:


Is this possible to do just from the view xml?

Thanks in advance,
Rodrigo.

頭像
捨棄
最佳答案

Hi,

You can update the CSS like in the below code

.o_wrap_field:has(.o_field_phone)::before {
  content: "\260E"; /* Use your preferred Unicode character or icon for the phone */
}

Regards

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
9月 24
2212
1
5月 23
2851
2
4月 22
3805
1
9月 21
5436
1
8月 23
3580