From 7d2fd1d1b4cb88007d148f5ef13eee799b9423e9 Mon Sep 17 00:00:00 2001 From: len-odoo Date: Tue, 27 Nov 2018 14:22:24 +0000 Subject: [PATCH] [FIX] board: do not display the no_content_create div That div has been given an absolute position, which does not work inside another div on the dashboard. If there are other dashboard elements below, there are unusable since they are covered by the no_content_create div. Moreover, there is no create button on the dashboard, so we shouldn't even see it. It also spares us from seeing that hideous clippy-inspired smiling paper sheet. opw 1907650 closes odoo/odoo#29076 --- addons/board/static/src/scss/dashboard.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/board/static/src/scss/dashboard.scss b/addons/board/static/src/scss/dashboard.scss index 683bdf52eaf..08cd66a09c1 100644 --- a/addons/board/static/src/scss/dashboard.scss +++ b/addons/board/static/src/scss/dashboard.scss @@ -112,6 +112,9 @@ &.oe_folded { display: none; } + .o_view_nocontent { + display: none; // we don't have a create button on the dashboard, so no need to display that + } } // Override border of many2manytags defined for form_views