Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1717 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Sept. 24
2217
1
Mai 23
2857
2
Apr. 22
3811
1
Sept. 21
5437
1
Aug. 23
3582