Community mailing list archives

community@mail.odoo.com

Re: how to prevent odoo from sending emails when a backup is restored?

by
Vauxoo S.A. de C.V., Moisés Augusto López Calderón
- 06/10/2016 23:10:26
Try the following options:

 - Set the `notification` field from `res.partner` to `None`
 - Set the `active` field from `ir.cron` to `False`
 - Disable the `ir.mail.server` too


2016-06-10 22:07 GMT-05:00 Hardik Goswami <hardikgiri.goswami@gmail.com>:
Hi Arjan,

I don't know the exact functionality of this module (https://www.odoo.com/apps/modules/8.0/open_email_blocker/) .I haven't tried yet.
It is blocking the email by adding some putting some parameters in config file (As I can see in the in the module description )
So when ever you start server with backup database, you can configure a separate odoo config file. 
I am not sure if it will solve your problem.



On Sat, Jun 11, 2016 at 12:17 AM Arjan Duijs <arjanduijs@gmail.com> wrote:
Hi All,
Regular i make a backup of my Odoo production server and sometimes i used that backup to test things on my development environment which in my case is my own laptop.

But each time whenever i load a backup on my laptop it sends out various emails about "employee directory installed", "timesheet validation application installed", "Project managements application installed" as well as other addons, as wel as timesheets.

for me that isnt a big deal, but it sends the emails to ALL odoo users!!

Normally i use disconnecting my laptop from internet as a work arround, but sometimes i forget and get a bunch of phonecalls with questions about the emails.

How can i prevent Odoo from sending out those emails whenever i restore a backup on my local laptop?


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Moisés López Calderón
Vauxoo - OpenERP's Gold Partner
Mobile: (+521) 477-752-22-30
Office: (+52) 477-773-33-46
web: http://www.vauxoo.com
twitter: @vauxoo
           @moylop260