Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5880 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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.


Ảnh đại diện
Huỷ bỏ

Using --db-filter

dbfilter when you specify in the config file

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
2102
1
thg 4 21
2384
2
thg 6 20
3351
5
thg 1 20
5786
2
thg 2 18
3919