Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1725 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 24
2220
1
Mei 23
2864
2
Apr 22
3815
1
Sep 21
5440
1
Agu 23
3586