diff options
| author | Odoo's Mergebot <robodoo@odoo.com> | 2020-08-11 20:33:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-11 20:33:49 +0200 |
| commit | ac6c3901e2f5f40d7fd5574c7d272696adaeeece (patch) | |
| tree | bba4c46086c30270c91b5a75fb41ba6c17cf0f61 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 6286f8aab74268d009aff69cc654d945cc670196 (diff) | |
| parent | c697da9403d2ebbbc135715038017582747e0184 (diff) | |
[MERGE] mail, sms, mass_mailing(_sms): better manage mailing subject (mail/sms) and emojis
PURPOSE
Subject field on mailing has not the same use in email marketing (subject of
emails) and in SMS maketing (used internally as there is no subject in SMS).
Purpose of this commit is to improve mailing form view to better distinguish
email and SMS flows. Also improve use of emojis in subject and text content.
SPECIFICATIONS
This merge adds emojis to base SmsWidget in order to use a text field with
both sms and emoji widgets in "mass_mailing_sms" module for sms content.
The emoji feature is optional (depends on "enable_emojis" attribute). We
also adjust the css of emoji widget to make it suitable for a text field with
sms option.
This merge changes helper for mailing subject and update its label according
to mailing_type (mail or sms), as well as the sms content field to enable emoji
support in mailing subjects. This is done through a fake sms_subject field
that is a text without emojis while standard subject allows emojis. Helpers
depends on the displayed field.
Override CRUD to synchronize sms_subject on subject to have only one field
used to store data.
Also allow emojis in SMS content, suing the enable_emojis option.
LINKS
Task ID-2224393
PR #49096
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
