odoo/odoo#193319

Created by fw-bot
Merged at 8428131ba79654b53ece1f47de006f2a2268f53b

Statuses:

label
odoo-dev:saas-18.1-16.0-opw-4440786-juwu-fDLz-fw
head
de5ed1c0505328ef3e70f2d891584215fdd3e5c7
merged
10 months ago by Junqi Wu (juwu)
odoo/odoo
16.0 #193274
17.0 #193302
saas-17.2 #193308
saas-17.4 #193312
18.0 #193317
saas-18.1 #193319
saas-18.2
saas-18.3
saas-18.4
19.0
master #193320

[FW][FIX] mass_mailing_crm: make demo data viewable

The demo data for mass_mailing_crm is currently not viewable nor editable before being sent.

Steps to reproduce

  1. Open Email Marketing > Select the campaign titled "We want to hear from you !"
  2. In the form view, a template picker is displayed instead of the existing contents

Cause

The demo data is using body_html instead of body_arch, the latter of which is displayed in the form view before the campaign is sent. Since body_arch = False, the template picker is displayed instead.

Solution

Use the body_arch field instead, body_html will be rendered when running the Test or Send actions.

opw-4440786

Forward-Port-Of: #193274