Skip to Content
Menu
This question has been flagged

Hello,

We have an Odoo (11.0) instance with two databases - one for main usage and another containing historic data. The first one is meant to generate mass mailings, however attached images weren't loading at all from within the e-mails.

After trial and error we found out the cause of this - the image URLs are similar to this http://my-website.com/web/image/# where # is the entry ID on the ir.attachment table. Of course, having multiple databases, when the images are loaded externally without passing any login data, Odoo doesn't know which database has to search the image in, returning an error 404 instead.

As a temporary solution we backed up and deleted the historic database, but I need to know if there's a way to make both DBs coexist while being able to default public calls to the main database.

Thanks,

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 25
881
4
dec 22
4813
4
mar 21
11295
2
nov 21
8016
1
apr 20
7226