diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-03-05 13:42:59 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-03-05 13:42:59 +0100 |
| commit | f7484297d9c947933dfd82314f0b406bdbc67bdf (patch) | |
| tree | 02c2d7c8fbbdd60bf32cacf11cc26e854cd28628 /addons/mail/wizard/mail_compose_message_view.xml | |
| parent | c63de2c9c25045b946cce0e81bc6a112bde9f664 (diff) | |
[CLEAN] mail.compose.message: some cleaning in new fields strings, and in form vivew.
bzr revid: tde@openerp.com-20130305124259-x3vb5ds2xi9v389d
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
| -rw-r--r-- | addons/mail/wizard/mail_compose_message_view.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml index 29a305a0462..6c85e6b17f1 100644 --- a/addons/mail/wizard/mail_compose_message_view.xml +++ b/addons/mail/wizard/mail_compose_message_view.xml @@ -12,11 +12,17 @@ <field name="model" invisible="1"/> <field name="res_id" invisible="1"/> <field name="parent_id" invisible="1"/> - <field name="post" groups="base.group_no_one"/> - <field name="notify" groups="base.group_no_one"/> <!-- visible wizard --> <field name="email_from" attrs="{'invisible':[('composition_mode', '!=', 'mass_mail')]}"/> + <field name="subject" placeholder="Subject..." required="True"/> + <field name="post" groups="base.group_no_one"/> + <field name="notify" groups="base.group_no_one" + attrs="{'invisible':[('post', '=', True)]}"/> + <field name="same_thread"/> + <field name="reply_to" placeholder="Email address te redirect replies..." + attrs="{'invisible':[('same_thread', '=', True)], + 'required':[('same_thread', '!=', True)]}"/> <label for="partner_ids" string="Recipients" attrs="{'invisible':[('composition_mode', '=', 'mass_mail')]}"/> <div groups="base.group_user" @@ -29,11 +35,6 @@ <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..." context="{'force_email':True, 'show_email':True}"/> </div> - <field name="same_thread"/> - <field name="reply_to" placeholder="Email address te redirect replies..." - attrs="{'invisible':[('same_thread', '=', True)], - 'required':[('same_thread', '!=', True)]}"/> - <field name="subject" placeholder="Subject..." required="True"/> </group> <field name="body"/> <field name="attachment_ids" widget="many2many_binary" string="Attach a file"/> |
