From 8f77a30cc58b615198d0c64d846ba8a617aad1ec Mon Sep 17 00:00:00 2001 From: Mayurrajsinh Rathod Date: Tue, 3 Oct 2023 14:42:46 +0530 Subject: [PATCH] [FIX] web: fix dialog overlap on fullscreen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Steps to reproduce ================== 1. Open marketing automation and select any campaign. 2. Click 'edit' on activity or click 'add new activity'. 3. Select existing mail template and open it to edit the template. 4. Select template on mail body page and click fullscreen from snippet. The activity modal dialog appear at top of everything. Technical ========= In prior version, the 'owl_dialog.js' file includes a 'display' function that applies the 'o_inactive_modal' class to the inactive dialog, adjusting its z-index. However in master, the commit https://github.com/odoo/odoo/commit/036307ba260ef1a08e80a14f7cffe1ef9a24021c removes the'owl_dialog.js' file, resulting in the class no longer being applied. After this commit ================= The 'o_inactive_modal' class is applied based on the state 'data' to position the dialog below the fullscreen editor. Task-3512850 closes odoo/odoo#139165 Signed-off-by: Jérémy Hennecart (jeh) --- addons/web/static/src/core/dialog/dialog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/core/dialog/dialog.xml b/addons/web/static/src/core/dialog/dialog.xml index 75c761c81d4..4224ceabf59 100644 --- a/addons/web/static/src/core/dialog/dialog.xml +++ b/addons/web/static/src/core/dialog/dialog.xml @@ -5,7 +5,7 @@