在看板xml中增加判断逻辑选择不同的class属性值,以匹配对应的css颜色
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
.modal-content .o_cp_buttons {
|
||||
display:none
|
||||
}
|
||||
|
||||
.modal-content .o_control_panel {
|
||||
display:none
|
||||
}
|
||||
|
||||
.modal-content .o_list_button {
|
||||
|
||||
}
|
||||
11
sf_warehouse/static/src/kanban_color_change.scss
Normal file
11
sf_warehouse/static/src/kanban_color_change.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
.oe_kanban_card.kanban_color_1 {
|
||||
background-color: red !important;
|
||||
}
|
||||
|
||||
.oe_kanban_card.kanban_color_2 {
|
||||
background-color: blue !important;
|
||||
}
|
||||
|
||||
.oe_kanban_card.kanban_color_3 {
|
||||
background-color: green !important;
|
||||
}
|
||||
Reference in New Issue
Block a user