summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message_view.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-10-24 14:28:03 +0200
committerChristophe Matthieu <chm@openerp.com>2012-10-24 14:28:03 +0200
commit875b2ede23cdc52ac9a2c96bbd22f527c428e0aa (patch)
tree695a231c9680595bcbbf4551a2302c4ac3adb6d3 /addons/mail/wizard/mail_compose_message_view.xml
parentbc93c031d1de726820274c8a189e3799a5c83cd0 (diff)
[IMP] mail: use widget one2many_binary and value fix
bzr revid: chm@openerp.com-20121024122803-ihr421qcvnsd3cjz
Diffstat (limited to 'addons/mail/wizard/mail_compose_message_view.xml')
-rw-r--r--addons/mail/wizard/mail_compose_message_view.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/mail/wizard/mail_compose_message_view.xml b/addons/mail/wizard/mail_compose_message_view.xml
index 4d3f3934392..1f00ed419a2 100644
--- a/addons/mail/wizard/mail_compose_message_view.xml
+++ b/addons/mail/wizard/mail_compose_message_view.xml
@@ -16,14 +16,14 @@
<!-- visible wizard -->
<field name="partner_ids" widget="many2many_tags" placeholder="Add contacts to notify..."
context="{'force_email':True}"
- on_change="onchange_partner_ids(partner_ids)"/>
+ on_change="onchange_partner_ids(partner_ids)" required="1"/>
<field name="subject" placeholder="Subject..."
- attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>/>
- <field name="attachment_ids" colspan="4" nolabel="1" widget="one2many_binary" blockui="1"/>
- <field name="body" colspan="4" nolabel="1"/>
+ attrs="{'invisible':[('content_subtype', '=', 'plain')]}"/>
</group>
+ <field name="body"/>
+ <field name="attachment_ids" widget="one2many_binary" blockui="0"/>
<footer>
- <button string="Send" name="send_mail" type="object" class="oe_highlight" />
+ <button string="Send" name="send_mail" type="object" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>