Skip to content
Snippets Groups Projects
Commit f422cfdb authored by ryv-odoo's avatar ryv-odoo
Browse files

[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
parent 74e23b2e
Branches
Tags
No related merge requests found
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment