Community mailing list archives

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

Holger Brunn
- 06/14/2016 14:38:32
> How can i prevent Odoo from sending out those emails whenever i
> restore a backup on my local laptop?

you might also install, maybe with some custom logic to 
detect if you're on the live db or not, and only in the latter case redirect 

We use this a lot for test instances because you can still review the mails 
being sent, which can be crucial for some tests to do.

It's on my list to OCAize for a long time, but I didn't come around to it yet.

Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie