コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1596 ビュー

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
2108
1
5月 23
2747
2
4月 22
3707
1
9月 21
5342
1
8月 23
3499