Skip to Content
Menu
This question has been flagged
1 Atsakyti
1857 Rodiniai

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.

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
rugs. 24
2374
1
geg. 23
3005
2
bal. 22
4013
1
rugs. 21
5587
1
rugp. 23
3721