diff options
| author | Mariska Archielli (ram) <ram@odoo.com> | 2020-09-17 14:23:41 +0000 |
|---|---|---|
| committer | Mariska Archielli (ram) <ram@odoo.com> | 2020-11-05 15:26:05 +0000 |
| commit | e6496af1ea31b2c699de9e41196a9ae3a07efb7f (patch) | |
| tree | d5c44764ed199661cb1372921d652cc6cf532577 /addons/sms/wizard | |
| parent | 4f97641b40839330bc88d686b03d4b4072261c5c (diff) | |
[FIX] mass_mailing, mass_mailing_sms : fix bugs and incoherency
Fix traceback when creating a new contact by checking the id list is not empty
Filter default reporting by name rather then by campaign (as campaign is an option)
Group by Campaign only if the option is checked to enforce coherency.
> This is unblocked with a group.
Hide the 'replied' status from sms reports as it is not relevant for sms.
Remove the preview message for sms as it is not relevant elsewhere then the object of mails.
Warn the user if he's trying to send a sms with only white-space characters.
> this causes an error because the plaintext-html conversion in mail_thread.py
> consider a white-spaces-only text as empty.
Mobile placeholder added for a better understanding of the field by the user.
Task ID : 2302578
closes odoo/odoo#60426
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/sms/wizard')
| -rw-r--r-- | addons/sms/wizard/sms_composer_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sms/wizard/sms_composer_views.xml b/addons/sms/wizard/sms_composer_views.xml index b1be27ca32b..3ef5820bb8a 100644 --- a/addons/sms/wizard/sms_composer_views.xml +++ b/addons/sms/wizard/sms_composer_views.xml @@ -45,7 +45,7 @@ attrs="{'invisible': [('comment_single_recipient', '=', False)]}"/> <div attrs="{'invisible': [('comment_single_recipient', '=', False)]}"> <field name="recipient_single_description" class="oe_inline"/> - <field name="recipient_single_number_itf" class="oe_inline" nolabel="1" options="{'onchange_on_keydown': True}"/> + <field name="recipient_single_number_itf" class="oe_inline" nolabel="1" options="{'onchange_on_keydown': True}" placeholder="e.g. +1 415 555 0100"/> </div> <field name="body" widget="sms_widget"/> |
