跳至内容
菜单
此问题已终结
1 回复
1698 查看

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

形象
丢弃
相关帖文 回复 查看 活动
1
9月 24
2205
1
5月 23
2841
2
4月 22
3802
1
9月 21
5435
1
8月 23
3576