From be54b82afdb246697d9c46e7d73bac09cc45a4c6 Mon Sep 17 00:00:00 2001 From: Samuel Degueldre Date: Wed, 20 May 2020 09:48:21 +0000 Subject: [PATCH] [FIX] web_editor, mass_mailing: fix assets template unable to load View rendering from javascript has recently been made to check permissions (See commits 64d0dab0a69fc62db85f67dfd1ea8638976610f6 through ccc98e01691b88c2da9c484c0e6de235b9d18548). Some assets required by the iframe editor are rendered in JS so that they can be injected into the iframe, but their permissions had not been updated, causing a crash when trying to create or edit a mass_mailing campaign. This commit fixes that by adding groups="base.group_user" to the required templates. closes odoo/odoo#51598 Signed-off-by: Quentin Smetz (qsm) --- addons/mass_mailing/views/assets.xml | 4 ++-- addons/mass_mailing/views/snippets_themes.xml | 2 +- addons/web_editor/views/editor.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mass_mailing/views/assets.xml b/addons/mass_mailing/views/assets.xml index 806d95ad4ff..ef99898703d 100644 --- a/addons/mass_mailing/views/assets.xml +++ b/addons/mass_mailing/views/assets.xml @@ -29,12 +29,12 @@ -