Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1712 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
вер. 24
2216
1
трав. 23
2855
2
квіт. 22
3809
1
вер. 21
5436
1
серп. 23
3581