콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3874 화면

Dear,

I am figuring out an issue when try to setup the 'incoming Mail Servers'.

Version : ODOO15 CE

Modules :



I installed the correct modules and added the client id and secret as mentioned in the tech doc.


For 'Technical/Settings/Outgoing Mail Servers' the setup work and I am able to send email.


Now, In 'Technical/Settings/Incoming Mail Server' I added a new connection :



When 'Connect Your account' is selected, I have this error message


RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/15.0/odoo/odoo/addons/base/models/ir_http\.py",\ line\ 237,\ in\ _dispatch
\ \ \ \ result\ =\ request\.dispatch\(\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 698,\ in\ dispatch
\ \ \ \ result\ =\ self\._call_function\(\*\*self\.params\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 368,\ in\ _call_function
\ \ \ \ return\ checked_call\(self\.db,\ \*args,\ \*\*kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/service/model\.py",\ line\ 94,\ in\ wrapper
\ \ \ \ return\ f\(dbname,\ \*args,\ \*\*kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 357,\ in\ checked_call
\ \ \ \ result\ =\ self\.endpoint\(\*a,\ \*\*kw\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 921,\ in\ __call__
\ \ \ \ return\ self\.method\(\*args,\ \*\*kw\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 546,\ in\ response_wrap
\ \ \ \ response\ =\ f\(\*args,\ \*\*kw\)
\ \ File\ "/opt/odoo/15\.0/odoo/addons/web/controllers/main\.py",\ line\ 1328,\ in\ call_button
\ \ \ \ action\ =\ self\._call_kw\(model,\ method,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/addons/web/controllers/main\.py",\ line\ 1316,\ in\ _call_kw
\ \ \ \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/api\.py",\ line\ 464,\ in\ call_kw
\ \ \ \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/api\.py",\ line\ 451,\ in\ _call_kw_multi
\ \ \ \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)
\ \ File\ "/opt/odoo/15\.0/odoo/addons/microsoft_outlook/models/microsoft_outlook_mixin\.py",\ line\ 84,\ in\ open_microsoft_outlook_uri
\ \ \ \ if\ not\ self\.smtp_user:
Exception

The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http\.py",\ line\ 654,\ in\ _handle_exception
\ \ \ \ return\ super\(JsonRequest,\ self\)\._handle_exception\(exception\)
\ \ File\ "/opt/odoo/15\.0/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
AttributeError: 'fetchmail.server' object has no attribute 'smtp_user'

Thanks if anyone could highlight my path.

아바타
취소
베스트 답변

Hi,

I think there is an issue in this commit. I already create issue ticket in GitHub.


Once this PR get merged it will get resolved in the odoo core:  https://github.com/odoo/odoo/pull/122483


Update:

Fixed in the core and just need to use the latest source code of odoo version.

Thanks

아바타
취소
작성자

Dear Waleed,

Same behavior since yesterday.
Thanks for the share. Will track it but in case there is a fix, let me know. I was frustrated thinking a wrong setup in my Azure.

As mentioned above, I am using ODOO15[CE]. The issue was when I tried to install a fresh new vm two days ago without any extra odoo modules.

As usual, I have forced a git pull from odoo repo then forced an Upgrade ( Go to Setting>Modules>Installed Module>Base and Upgraded ).

Best Regards,

작성자

I have another issue but maybe just a setup is regarding outgoing email, send on behalf of the email account registered in outgoing mail server.
https://www.odoo.com/forum/help-1/microsoft365-technical-settings-outgoing-mail-server-send-email-on-behalf-of-the-email-address-accounting-xxx-be-for-any-registered-user-in-odoo-225185

작성자

FYI, the fix is merged on odoo 14,15,16, ... https://github.com/odoo/odoo/pull/122483

With Odoo 15 CE, the fix works and I am able to get the 'Outlook Token Valid' and fetch email again.

베스트 답변

Hi @Boujraf, did you manage to find the solution?

Many thanks!

아바타
취소

There is an open PR in https://github.com/odoo/odoo/pull/122222 and once merged you can pull the latest code and upgrade your module.

작성자

Dear
For new installation, I am using the backup of my previous vm installation.
As mentionned Mister Waleed, as soon the PR will be merged we could pull.
Will inform you asap

Best Regards,

작성자

FYI, the fix is merged on odoo 14,15,16, ... https://github.com/odoo/odoo/pull/122483

With Odoo 15 CE, the fix works and I am able to get the 'Outlook Token Valid' and fetch email again.

관련 게시물 답글 화면 활동
0
4월 24
1027
0
2월 23
1531
0
7월 24
2796
0
5월 23
2583
2
1월 23
2553