From fd3c3821861dcfecdd63079c799863002fd67d71 Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Mon, 16 Sep 2019 11:49:00 +0000 Subject: [FIX] web: field color: adapted for views The FieldColor widget had been designed exclusively for the document layout configurator. Because of this, the widget would not display/behave correctly in other views. Before this commit: - in list views, the widget had a "white-space" attribute adapted for char fields, which gave it much more space than it needed - there was no handling of the widget in readonly state: it was always editable - its size in list views was a bit too large Now: - all styling problems have been adjusted for list views (unchanged for forms) - the widget is disabled when in readonly mode Task 2072466 closes odoo/odoo#36949 Signed-off-by: VincentSchippefilt --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index f52818d5ed6..ff0d23a928f 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1540,7 +1540,7 @@
- +
-- cgit v1.2.3 From 2849b5cb395175c286ddebc269c7b16e7f97e9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?= Date: Wed, 18 Sep 2019 12:08:07 +0200 Subject: Revert "[IMP] web: Export list view as XLS file" This reverts commit ac00548b28c0c384b5b1423f65405e4918101872. --- addons/web/static/src/xml/base.xml | 3 --- 1 file changed, 3 deletions(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index f52818d5ed6..20c76190c7f 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -275,9 +275,6 @@ Create - - + + + -- cgit v1.2.3 From 5fe83fc6a4f2acf153c8cfdeda557ba85ae719e0 Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Mon, 30 Sep 2019 12:02:50 +0000 Subject: [FIX] web: dropdown boundary overflow Open a search view modal ("search more" on a m2o) Select a filter that will make records fall to zero The modal will shrink Trigger the opening of a dropdown (Filters), and make sure that there are many many menu items there (many filters) Before this commit, the dropdown was bigger than the modal which had a scroll bar, however, the dropdown itself was not scrollable properly So, clicking in it to select a menu item will fail when scrolled all the way down, because elements did not actually followed the scroll After this commit, the dropdown follows the scroll, and it is possible to use it even way down We use a behavior of bootstrap 4 itself: FIX: https://github.com/twbs/bootstrap/pull/24976 ISSUE: https://github.com/twbs/bootstrap/issues/24251 OPW 2076337 closes odoo/odoo#38080 X-original-commit: c3273b7a1c0c09aeef23df4ba4be8d68fd46a6f3 Signed-off-by: Lucas Perais (lpe) --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index e657fb60bbf..02dd25bf0ac 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1088,7 +1088,7 @@
-