color for statusbar
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účtovníctvo
- Sklady
- PoS
- Project
- MRP
This question has been flagged
Hi Jain ,
Try
<form string="allocation_form">
<style>
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled[data-value="draft"] {
background: blue;
}
.o_form_view .o_form_statusbar > .o_statusbar_status >
.o_arrow_button.btn-primary.disabled[data-value="draft"]::after {
border-left-color: blue;
}
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled[data-value = "cancel"] {
background: green;
}
.o_form_view .o_form_statusbar > .o_statusbar_status > .o_arrow_button.btn-primary.disabled[data-value =
"cancel"]::after {
border-left-color: green;
}
</style>
<header>
<field name="state" widget="statusbar" statusbar_visible="draft,cancel"/>
</header>
Hope it Helps
Kiran K
Thank you so much Kiran K
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
RegistráciaRelated Posts | Replies | Zobrazenia | Aktivita | |
---|---|---|---|---|
|
2
máj 25
|
7719 | ||
|
0
mar 25
|
1318 | ||
|
4
apr 24
|
174167 | ||
|
0
dec 23
|
2088 | ||
|
3
okt 23
|
8649 |