Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1700 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
sept. 24
2208
1
mai 23
2844
2
avr. 22
3804
1
sept. 21
5436
1
août 23
3578