Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
6371 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
März 15
5843
2
Mai 24
2087
2
Aug. 18
6928
0
Okt. 17
5211
0
Sept. 17
4674