Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1751 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
sep. 24
2246
1
maj 23
2897
2
apr. 22
3838
1
sep. 21
5474
1
avg. 23
3611