[IMP] mail: improve the settings page of the mail template

The settings page of the mail template has too specific placeholders. To
improve the genericity and the consistency of the placeholders, we will
use placeholders about the same topic.

task-2523036

Part-of: odoo/odoo#71413
This commit is contained in:
Julien Banken
2021-09-30 13:31:52 +00:00
parent fbb9a25367
commit 259508fdd4
+3 -3
View File
@@ -34,9 +34,9 @@
</div>
<div class="oe_title">
<label for="name"/>
<h1><field name="name" required="1" placeholder="e.g. Calendar: Reminder"/></h1>
<h1><field name="name" required="1" placeholder='e.g. "Welcome email"'/></h1>
<group>
<field name="model_id" placeholder="e.g. Users" required="1" options="{'no_create': True}"/>
<field name="model_id" placeholder="e.g. Contact" required="1" options="{'no_create': True}"/>
<field name="model" invisible="1"/>
</group>
</div>
@@ -44,7 +44,7 @@
<page string="Content" name="content">
<div class="oe_title"><label for="subject"/></div>
<div class="oe_title">
<h2 style="display: inline-block;"><field name="subject" placeholder="Subject (placeholders may be used here)"/></h2>
<h2 style="display: inline-block;"><field name="subject" placeholder='e.g. "Welcome to MyCompany" or "Nice to meet you, ${object.name}"'/></h2>
</div>
<field name="body_html" widget="html" options="{'style-inline': true, 'codeview': true }"/>
<field name="attachment_ids" widget="many2many_binary"/>