İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1591 Görünümler

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.

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 24
2098
1
May 23
2730
2
Nis 22
3706
1
Eyl 21
5336
1
Ağu 23
3496