summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-07-03 15:12:36 +0000
committerAaron Bohy <aab@odoo.com>2020-07-07 10:14:54 +0000
commite55ee0bb1b285653ed23cbc8586f8c948fa7972b (patch)
treeaf505e90c2658a7c1a5e9d192ab0578315cb6617 /addons/web/static/src/scss
parent5a60dbccd48fea052bf203c11d43e367b6bb4360 (diff)
[FIX] web: kanban: drag column with sample data
Before this commit, in a grouped kanban view with sample data (e.g. crm.lead), one could toggle the 'settings' dropdown menu of a group, and then drag&drop the group by clicking on the muted "Fold" item in the dropdown. After this commit, dragging a column is only possible by clicking on the column title (but not on the 'config' or '+' icons, nor the config dropdown). Task 2290197 closes odoo/odoo#54179 X-original-commit: 58c38a024c96eba3469c142a8422b7bd0ab54ea4 Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/scss')
-rw-r--r--addons/web/static/src/scss/kanban_view.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/web/static/src/scss/kanban_view.scss b/addons/web/static/src/scss/kanban_view.scss
index f9952f7bea9..ee7f3f2aa05 100644
--- a/addons/web/static/src/scss/kanban_view.scss
+++ b/addons/web/static/src/scss/kanban_view.scss
@@ -459,6 +459,9 @@
.o_kanban_config {
visibility: hidden;
+ > .dropdown-menu {
+ cursor: default;
+ }
i {
@include o-kanban-icon;
}
@@ -488,7 +491,7 @@
}
}
- &.ui-sortable .o_kanban_header_title {
+ &.ui-sortable .o_kanban_header_title .o_column_title {
cursor: move;
}