[FIX] mass_mailing_sms: change label from 'Subject' to 'Title'
Before this commit: The label for the `sms_subject` field incorrectly displayed as 'Subject,' which was misleading as SMS messages do not have a subject like emails. After this commit: The label has been changed to 'Title' which is appropriate for SMS Task-3500573 closes odoo/odoo#149815 X-original-commit: ce33260099dd374e1aab7ad4168737b7754fa8e0 Related: odoo/enterprise#54553 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
@@ -101,6 +101,12 @@
|
||||
<attribute name="invisible">mailing_type != 'mail' or state in ('draft', 'test')</attribute>
|
||||
</xpath>
|
||||
<!-- Form -->
|
||||
<xpath expr="//label[@for='subject']" position="attributes">
|
||||
<attribute name="invisible">mailing_type != 'mail'</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//label[@for='subject']" position="after">
|
||||
<label for="sms_subject" invisible="mailing_type != 'sms'"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='subject']" position="attributes">
|
||||
<attribute name="invisible">mailing_type != 'mail'</attribute>
|
||||
<attribute name="readonly">state in ('sending', 'done')</attribute>
|
||||
|
||||
Reference in New Issue
Block a user