Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2427 มุมมอง


Upgraded from 11 to 12 - using openupgrade - appears to work other than incoming email processing.

Originally found that all incoming emails where being designated to a very old crm lead "Related Document ID" (res_id) No2.

Deleted this record (crm lead Ref 2), now odoo unable to process incoming emails - with error ....


Traceback (most recent call last):
File "/opt/odoo/odoo12/addons/fetchmail/models/fetchmail.py", line 176, in fetch_mail
res_id = MailThread.with_context (** additionnal_context) .message_process (server.object_id. model, data [0] [1], save_original = server.original, strip_attachments = (not server.attach))
File "/opt/odoo/odoo12/addons/mail/models/mail_thread.py", line 1446, in message_process
routes = self.message_route (msg_txt, msg, model, thread_id, custom_values)
File "/opt/odoo/odoo12/addons/mail/models/mail_thread.py", line 1300, in message_route
update_author = True, assert_model = True, create_fallback = True)
File "/opt/odoo/odoo12/addons/mail/models/mail_thread.py", line 1057, in message_route_verify
self._routing_warn (_ ('reply to missing document (% s,% s)')% (model, thread_id), _ ('skipping'), message_id, route, assert_model)
File "/ opt / odoo / odoo12 / addons /mail/models/mail_thread.py ", line 959, in _routing_warn
raise ValueError (short_message)
ValueError: Mailbox unavailable - reply to missing document (crm.lead, None)


Any ideas please?


EDIT - As soon as I replace CRM record No 2 ... error disappears, but all incoming emails get linked to it through "record_name" and "res_id"

I've also tested by creating a new database - CRM leads works perfect here 

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Solved ... for completion ... I was a muppet! ... 

I assUme ...

a "homes made" module "view" was either preventing the "sale" module upgrading... # out the view from the module ... upgrade and bingo! an opportunity was created :)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 23
1767
0
พ.ย. 21
2745
1
มิ.ย. 21
2767
1
ธ.ค. 19
4564
0
พ.ย. 23
1858