diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-09-20 10:21:11 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-09-20 13:44:09 +0000 |
| commit | 61611c38e7e4c5bfc04d7fbc8491e80c941fe0e6 (patch) | |
| tree | d15b616ba3c4904baf7a74155e1e78cc0eff0c56 /addons/web/static/src/js/fields | |
| parent | 5989322b8298671c2c43fe5b5c856f87111c0197 (diff) | |
[IMP] mass_mailing_sms: add a form view displaying mailing type choice
Currently in mass_mailing_sms form view of mailing is displaying differently
depending on mailing_type field that is hidden. Purpose is to have a single
form view while not allowing people to change the mailing type as they
always come from a context where it is given (mass_mailing -> mail, mass
mailing sms -> sms, same in marketing automation(_sms)).
In this commit we create a new form view based on the existing one (inherit
and primary) with the only change currently being the mailing_type being
displayed.
It will be used in some cases when we want people to contact in mass records
without knowing if it will be mail or sms. For example on event, allowing
to contact attendees and choose either mail or sms, avoiding to define
two buttons and actions on event form view.
Task ID 2074848 (sms on attendees)
Task ID 2075183 (sms on speakers)
PR #37185
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
