You are here: Home / Change test email address for Odoo 12

Change test email address for Odoo 12

by Hawke Robinson last modified Jan 18, 2021 04:04 PM
Odoo 12's default test outbound email template attempts to send email to This needs to be changed to something useful in a production setup.

To change this:

/usr/lib/python3/dist-packages# grep -r *
Binary file odoo/addons/base/models/__pycache__/ir_mail_server.cpython-36.pyc matches
odoo/addons/base/models/ email_from, email_to =, ''

Edit and replace with desired email replacing


To see configuration of this via GUI (though I don't know yet if you can edit it there (don't see how currently):

Go to Development mode

Go to Settings

Then Technical > Database Structure > Models