跳至内容
菜单
此问题已终结
1 回复
5921 查看

When using  mass mail marketing with images on a Odoo 8.0 server with multiple databases, the images are broken in the e-mails. The problem is that mass mailing uses http://<server>/website/image/ir.attachment/..... to load the images from the Odoo webserver. This is no problem with a single database, but how to deal with multiple databases?

Or is there a way to encode the images as base64 in the e-mail?

形象
丢弃
最佳答案

You could use subdomains for direct select of the database or you could add "db" querystring parameter, but better use the subdomain for your <server> part using the dbfilter option in your config file filter the database based on the subdomain with a value like:

^%d$

%d will be replaced with the subdomain name an use it as your database.


形象
丢弃

Using --db-filter

dbfilter when you specify in the config file

编写者

I installed the module html_widget_embedded_picture and the images are attached to the mail als base64

相关帖文 回复 查看 活动
1
3月 24
2139
1
4月 21
2421
2
6月 20
3376
5
1月 20
5819
2
2月 18
3934