[IMP] mass_mailing: use emoji widget allowing support of emojis in subject

PURPOSE

Allow to use the text field with integrated emojis support in other apps
notably mass mailing

SPECIFICATIONS

Now that we moved emojis widget from social to mail and allowed its use
within a char field, let us use it for email marketing mailings subject.

LINKS

Task #2117238
PR #40045
Enterprise PR odoo/enterprise#6630
This commit is contained in:
Debauche Stéphane
2019-12-13 10:27:16 +00:00
committed by Thibault Delavallée
parent 2e2e945a0b
commit 47115a3a2a
@@ -139,7 +139,7 @@
<field name="active" invisible="1"/>
<field name="mailing_type" widget="radio" options="{'horizontal': true}" invisible="1"
attrs="{'readonly': [('state', 'in', ('sending', 'done'))]}"/>
<field name="subject" string="Subject" attrs="{'readonly': [('state', 'in', ('sending', 'done'))]}"/>
<field name="subject" string="Subject" attrs="{'readonly': [('state', 'in', ('sending', 'done'))]}" widget="char_emojis"/>
<label for="mailing_model_id" string="Recipients"/>
<div name="mailing_model_id_container">
<div class="row">