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

Change test email address for Odoo 12

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