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

Hi, in Odoo 11 (CE)  Mass mail I have problem with non-english characters in email subject. If there are non-english characters ( ě,š,č,ř,ž,ý... ) email is sent with empty Subject. Wihout this characters, Subject is filled and send correctly.

Any help how to fix?

Thanks.

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

Normally the umlaute characters can be handled using following script on python.

import sys
reload(sys)
sys.setdefaultencoding('utf-8') # to treat the Umlaute

for HTML use

<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">


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

thanks, but I do not understand.... (I am not dev).  Do I need to modify the source code? Where?

I test Odoo 10, there is mass mail sending with non-english characters OK.

I simply install Odoo (on Ubuntu 16.04), activate MassMail module, create Mass mail, send.....

Thanks.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 24
2066
1
thg 4 21
2347
2
thg 6 20
3307
5
thg 1 20
5719
3
thg 10 17
8453