summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/list_view_extra.scss
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2019-09-18 10:33:26 +0000
committerAaron Bohy <aab@odoo.com>2019-09-25 07:20:36 +0000
commit3147e5fada058ec676183b3136145ffe824a9044 (patch)
treeef2ee8476a203865b6065105ad15dfa572a5875f /addons/web/static/src/scss/list_view_extra.scss
parent3023cd24af35bf63f1c962ec51183a20f9ca80e0 (diff)
[IMP] web,*: editable readonly list views
*:board,hr_skills Hold on tight, this is a tricky one. Allows *any* readonly list view (only plain lists, not x2manies) to become partially editable when checking records. This means that once checked, a record line acts just like it was in an editable list. You can click on it, edit any of its values as long as they're not constrained by readonly modifiers, and save them on the fly. Clicking on an unchecked record will have the same effect as before: it will open the record, regardless of the other selected records. You can also check multiple records and edit them all at once by changing the value of one selected record (just like standard multi edition). Keyboard navigation is also allowed between selected records (TAB and SHIFT+TAB to navigate and ENTER to save). /!\ If a list is only made of records having all of their fields locked by readonly modifiers, checking a record and clicking on it will do absolutely nothing. This is to keep consistency with the rest of the specs. Task 1967602
Diffstat (limited to 'addons/web/static/src/scss/list_view_extra.scss')
-rw-r--r--addons/web/static/src/scss/list_view_extra.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/scss/list_view_extra.scss b/addons/web/static/src/scss/list_view_extra.scss
index 2cef58a57a7..ef51cfd65e0 100644
--- a/addons/web/static/src/scss/list_view_extra.scss
+++ b/addons/web/static/src/scss/list_view_extra.scss
@@ -12,7 +12,7 @@
}
}
- .o_list_table.o_editable_list .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier):not(.o_invisible_modifier) {
+ .o_list_table .o_data_row.o_selected_row > .o_data_cell:not(.o_readonly_modifier):not(.o_invisible_modifier) {
padding: .15rem;
.o_input {
border: none;