From c305f89e51cd5d650b28c19664b9bef3aa13ae52 Mon Sep 17 00:00:00 2001 From: Samuel Degueldre Date: Thu, 13 Feb 2020 10:38:25 +0000 Subject: [PATCH] [FIX] web_editor: fix summernote files showing up in media dialog Due to the infamous web_editor revert, summernote assets filesa are once again created and stored in DB, but because they do not contain 'assets_' in their name, they would show up in the media dialog. This commit fixes that by prefixing the created summernote assets file with 'assets_' closes odoo/odoo#45298 Signed-off-by: Quentin Smetz (qsm) --- addons/web_editor/views/editor.xml | 4 ++-- addons/website/tests/test_views.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/web_editor/views/editor.xml b/addons/web_editor/views/editor.xml index 4633315fd72..eee7c1fafd3 100644 --- a/addons/web_editor/views/editor.xml +++ b/addons/web_editor/views/editor.xml @@ -14,7 +14,7 @@