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

Hello all,

I am trying to configure email integration.

I have such config:

user@domain.com, which must receive emails to Inbox
jobs@domain.com which is allready receiving applications in HR module, when receiving emails..

The only problem is, when someone sends new email to user@domain.com, logs brings error message:

ValueError: Routing: posting a message without model should be with a parent_id (private mesage).

This is not appearing, when someone replies to email, received from odoo system. In that case everything goes correct - message appears in inbox, more messages are grouped in tread.

Can anyone help me solving this problem ?

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

In order to receive email directly in inbox, Please set user alias exactly same as your email.

For example, if someone sends an email to user@domain.com and if you want to show that email in inbox of user "X", then set alias of user "X" to user@domain.com. 

I hope this will solve your issue !

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

Thanks for response, Emipro.

You mean Settings > Email > Aliases ? 

Now I've created alias (dublicated _usertemplate) with options:

Aliased Model : Users

Record Thread ID :  4

Default Values  : {}

Alias Contact Security : Everyone

Owner: my username

Parent Model : Users

Parent Record Thread ID: 4

When I run test, logs show, " Fetched 1 email(s) on imap server CatchAll; 1 succeeded, 0 failed." But it does not appear in Inbox. Only when I send second email from same email I get thread of two new messages - that, which was not shown before, and the new one.

One more questions - if I create new alias, instead of dublicating _usertemplate, I can't select Aliased Model Users, because it does not exists. .

Can you please explain me more about how to create alias ?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
5847
2
thg 5 24
2091
2
thg 8 18
6930
0
thg 10 17
5216
0
thg 9 17
4676