تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6304 أدوات العرض

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 ?

الصورة الرمزية
إهمال
أفضل إجابة

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 !

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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 ?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
5714
2
مايو 24
1930
2
أغسطس 18
6826
0
أكتوبر 17
5065
0
سبتمبر 17
4569