diff options
| author | ryv-odoo <ryv@odoo.com> | 2019-10-01 07:28:33 +0000 |
|---|---|---|
| committer | ryv-odoo <ryv@odoo.com> | 2019-10-01 11:04:10 +0000 |
| commit | f422cfdbb975063e87d19832a2098b458d468b00 (patch) | |
| tree | 6daca704c5bedcacf0b1db7857d9569e2e224dbc /addons/mass_mailing_sms/views | |
| parent | 74e23b2e2b36fb8b1d12cb2ca6b83f91e37417ba (diff) | |
[FIX] mass_mailing_sms : the sms_allow_unsubscribe field invisible for mailing marketing
The field sms_allow_unsubscribe field was visible and checkable on the
email marketing app, but this field is reserved to the
sms marketing. Add a invisible condition.
TASK_ID : 2078918
Diffstat (limited to 'addons/mass_mailing_sms/views')
| -rw-r--r-- | addons/mass_mailing_sms/views/mailing_mailing_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mass_mailing_sms/views/mailing_mailing_views.xml b/addons/mass_mailing_sms/views/mailing_mailing_views.xml index 39116b8abc7..0771f3dd07b 100644 --- a/addons/mass_mailing_sms/views/mailing_mailing_views.xml +++ b/addons/mass_mailing_sms/views/mailing_mailing_views.xml @@ -110,7 +110,7 @@ </page> </xpath> <xpath expr="//field[@name='user_id']" position="after"> - <field name="sms_allow_unsubscribe"/> + <field name="sms_allow_unsubscribe" attrs="{'invisible': [('mailing_type', '!=', 'sms')]}"/> </xpath> <!-- Option page tweaks --> <xpath expr="//field[@name='email_from']" position="attributes"> |
