I would like to set the color green for price in crm kabnab view. Is it possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Hello Ewdy,
Please apply this code.
.o_kanban_view .o_kanban_record .o_kanban_record_subtitle
{
color:green;
}
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
@Ewdy
Another way of doint this dynamically is to add decoration attribute which can take a condition and changes color based on it.
Please see below example of how to add it to a field in xml
<field name="expected_revenue" widget="monetary"
options="{'currency_field': 'company_currency'}"
decoration-success="expected_revenue > 0" decoration-danger="expected_revenue <= 0"/>
To find more about how to work with decoration, Please check the link below:
https://www.odoo.com/documentation/master/developer/reference/backend/views.html?highlight=decoration
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
mar 24
|
2174 | ||
How to make existing kanban not draggable?
Rozwiązane
|
|
2
mar 23
|
3750 | |
|
2
sie 22
|
3017 | ||
|
1
maj 22
|
8803 | ||
|
0
cze 21
|
2865 |