Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1714 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 24
2216
1
may 23
2855
2
abr 22
3809
1
sept 21
5436
1
ago 23
3581