Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1740 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
sept. 24
2237
1
mai 23
2889
2
apr. 22
3829
1
sept. 21
5456
1
aug. 23
3604