[FIX] website_mass_mailing: make website popup content visible/editable
View rendering from javascript has recently been made to check permission(through PR #44993). 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. It causes a crash while creating website popup and resulting into an empty html field ('Website Popup Content'). This commit fixes that by adding groups="base.group_user" to the required template. Task Id : 2292026 PR #54798 closes odoo/odoo#55626 X-original-commit: c4fed6350f0024e809a2fc632891aab8be05d25e Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<template id="iframe_css_assets_edit" name="CSS assets for wysiwyg iframe content for popup">
|
||||
<template id="iframe_css_assets_edit" name="CSS assets for wysiwyg iframe content for popup" groups="base.group_user">
|
||||
<t t-call-assets="web.assets_common" t-js="false"/>
|
||||
<t t-call-assets="web.assets_frontend" t-js="false"/>
|
||||
<t t-call-assets="web_editor.assets_wysiwyg" t-js="false"/>
|
||||
|
||||
Reference in New Issue
Block a user