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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
1700
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
sept. 24
|
2208 | ||
|
1
mai 23
|
2844 | ||
|
2
avr. 22
|
3804 | ||
|
1
sept. 21
|
5436 | ||
|
1
août 23
|
3578 |