Files
odoo_source/addons/mass_mailing/views/mailing_mobile_preview_content.xml
T
Pierre Pulinckx (pipu) 13b3f8af4b [REF] website, mass_mailing: remove getBundle usages
In this commit, we remove three usages of the getBundle function from
@web/core/assets.js. The final goal is to remove it totally to simplify
the understanding of assets's API. To replace the use of getBundle in
mobile preview dialog, an xml template has been created on the server
side and then called by http requests. During the request, we retrieve
the list of assets (server side getbundle) to inject these into
the xml template.

taskId : 3266441

closes odoo/odoo#138055

Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
2023-10-11 17:02:09 +00:00

12 lines
311 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="mass_mailing.preview_content_mobile">
<html>
<head>
<t t-call-assets="mass_mailing.iframe_css_assets_edit" t-js="False"></t>
</head>
<body></body>
</html>
</template>
</odoo>