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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
1533
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Sep 24
|
1991 | ||
|
1
May 23
|
2679 | ||
|
2
Apr 22
|
3640 | ||
|
1
Sep 21
|
5285 | ||
|
1
Aug 23
|
3453 |