diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-12-20 13:31:22 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-12-20 13:31:22 +0100 |
| commit | 40b1c95e1a0932f4d1f87bf9894a169b2c9e57ff (patch) | |
| tree | cf82c5ee2aa7b9c0ec93245dac84db44176dd80e /addons/mail/static/src/xml/mail.xml | |
| parent | 2315050bab19cd1ec7e087a6751c3ca96d6c34e6 (diff) | |
[IMP]mail: display checkbox for allow to add email (from email_from value) for creating partner and send email to this new partners.
bzr revid: chm@openerp.com-20121220123122-qsqn8w97t1tre3cq
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 3c510813029..168f32a9d7e 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -27,6 +27,11 @@ <div class="oe_msg_center"> <div class="oe_msg_content"> <t t-call="mail.thread.list_recipients"/> + <div class="oe_emails_from" t-if="widget.emails_from.length"> + <t t-foreach='widget.emails_from' t-as='email_from'> + <label><input type="checkbox" t-att-checked="email_from[1] ? 'checked' : undefind" t-att-data="email_from[0]"/> <t t-raw="email_from[0]"/></label> + </t> + </div> <textarea class="field_text"></textarea> </div> <div class="oe_msg_footer"> @@ -79,7 +84,7 @@ <img t-att-src="'/mail/static/src/img/mimetypes/' + attachment.filetype + '.png'"></img> <div class='oe_name'><t t-raw='attachment.name' /></div> </a> - <div class='oe_delete oe_e' title="Delete this attachment" t-attf-data-id="{attachment.id}">[</div> + <div class='oe_delete oe_e' title="Delete this attachment" t-att-data-id="attachment.id">[</div> <div class='oe_progress_bar'> uploading </div> @@ -91,7 +96,7 @@ <img t-att-src="widget.attachments_resize_image(attachment.id, [100,80])"></img> <div class='oe_name'><t t-raw='attachment.name' /></div> </a> - <div class='oe_delete oe_e'>[</div> + <div class='oe_delete oe_e' title="Delete this attachment" t-att-data-id="attachment.id">[</div> <div class='oe_progress_bar'> uploading </div> |
