From 2b34cea21c396bf0b6041e55aecfaf39b3c3c797 Mon Sep 17 00:00:00 2001 From: Mohammed Shekha Date: Fri, 16 Apr 2021 09:02:07 +0000 Subject: [PATCH] [IMP] web: display sequence field as non editable Before this commit: when editable listview has sequence field with handle widget and user edits row it is displayed with white background, while user can not change it in edit mode so it should be displayed with grey background After this commit: sequence field will be displayed with grey background in editable listview in edit mode. task-2507971 closes odoo/odoo#73173 X-original-commit: 9f00dcaedb280f403ff7576a31ff7f7e67f49c6c Signed-off-by: Simon Genin (ges@odoo) --- addons/web/static/src/legacy/scss/list_view.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/legacy/scss/list_view.scss b/addons/web/static/src/legacy/scss/list_view.scss index f1863f1a72e..2215183aa29 100644 --- a/addons/web/static/src/legacy/scss/list_view.scss +++ b/addons/web/static/src/legacy/scss/list_view.scss @@ -259,7 +259,9 @@ .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier):not(.o_invisible_modifier) { position: relative; // for o_field_translate - background-color: white; + &:not(.o_handle_cell) { + background-color: white; + } .o_input { border: none; padding: 0;