Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1701 Представления

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
2208
1
мая 23
2844
2
апр. 22
3804
1
сент. 21
5436
1
авг. 23
3578