Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5931 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 24
2148
1
เม.ย. 21
2430
2
มิ.ย. 20
3384
5
ม.ค. 20
5836
2
ก.พ. 18
3939