[FIX] mail: do not send email at module installation
authorChristophe Simonis <chs@odoo.com>
Mon, 25 Aug 2014 10:12:24 +0000 (12:12 +0200)
committerChristophe Simonis <chs@odoo.com>
Mon, 25 Aug 2014 10:12:24 +0000 (12:12 +0200)
addons/mail/data/mail_group_data.xml

index 707ba6f..e1953b0 100644 (file)
@@ -9,7 +9,7 @@
         </record>
 
         <!-- notify all employees of module installation -->
-        <record model="mail.message" id="module_install_notification">
+        <record model="mail.message" id="module_install_notification" context="{'mail_notify_noemail': True}">
             <field name="model">mail.group</field>
             <field name="res_id" ref="mail.group_all_employees"/>
             <field name="type">notification</field>