İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
6366 Görünümler

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 ?

Avatar
Vazgeç
En İyi Yanı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 !

Avatar
Vazgeç
Üretici En İyi Yanı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 ?

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 15
5843
2
May 24
2087
2
Ağu 18
6928
0
Eki 17
5210
0
Eyl 17
4674