summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_data.xml
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-08-23 14:06:11 +0200
committerThibault Delavallée <tde@openerp.com>2013-08-23 14:06:11 +0200
commitd874d9980d3a1fde972a1d53702c74da406678db (patch)
tree04482719af3d05d8e0287361ae971f2838447c95 /addons/mail/data/mail_data.xml
parent4bc20f2e2fdd9596d8ea44837b6f4ac167add17a (diff)
[FIX] mail: fixed wrong parsing of multipart/mixed emails.
alternative mode is computed when browsing the parts, not from the message content type. Added tests. Also added some notification_email_send to none to avoid sending emails in demo/data/update. bzr revid: tde@openerp.com-20130823120611-0n4ull3c8gvwug2u
Diffstat (limited to 'addons/mail/data/mail_data.xml')
-rw-r--r--addons/mail/data/mail_data.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml
index 02cfd626768..8af808e77c7 100644
--- a/addons/mail/data/mail_data.xml
+++ b/addons/mail/data/mail_data.xml
@@ -40,6 +40,11 @@
<field name="args">()</field>
</record>
+ <!-- Admin should not receivve emails at creation -->
+ <record id="base.partner_root" model="res.partner">
+ <field name="notification_email_send">none</field>
+ </record>
+
<!-- Discussion subtype for messaging / Chatter -->
<record id="mt_comment" model="mail.message.subtype">
<field name="name">Discussions</field>