Skip to Content
Menú
This question has been flagged
1 Respondre
1709 Vistes

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
1
de set. 24
2215
1
de maig 23
2854
2
d’abr. 22
3809
1
de set. 21
5436
1
d’ag. 23
3581