Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1690 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 24
2202
1
kvě 23
2834
2
dub 22
3799
1
zář 21
5434
1
srp 23
3572