Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
2026 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
2534
1
Mai 23
3143
2
Apr. 22
4161
1
Sept. 21
5740
1
Aug. 23
3896