I've setup 2 databases, when Odoo sends the invoice email, it adds a link to see the invoice online. But, this link doesn't work until you go to Database Selector and chose the right DB.
The same happens with the link sent to users to change the password.
Any idea on how to fix that?
I think using the db_filter will do it for you