Hi,
When a client that has been setup as a portal user send an email to one of our project aliases the task gets created but the body of the task is completely empty. And I'm seeing the following error in our docker log:
2020-09-18 09:00:18,332 1 INFO clientname odoo.addons.mail.models.mail_thread: Routing mail from "test" <test+portal@myemail.co.za> to help@clientname.co.za with Message-Id <20200918085942.C4F8C1B7C4@box.test.software>: direct alias match: ('project.task', 0, {'project_id': 2}, 10, mail.alias(8,))
2020-09-18 09:00:18,363 1 INFO odoo_clientname odoo.addons.fetchmail.models.fetchmail: Failed to process mail from imap server help@clientname.co.za.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/fetchmail/models/fetchmail.py", line 170, 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 "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1125, in message_process
thread_id = self._message_route_process(message, msg_dict, routes)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1039, in _message_route_process
thread = ModelCtx.message_new(message_dict, custom_values)
File "/usr/lib/python3/dist-packages/odoo/addons/project/models/project.py", line 866, in message_new
task = super(Task, self.with_context(create_context)).message_new(msg, custom_values=defaults)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_cc_mixin.py", line 29, in message_new
return super(MailCCMixin, self).message_new(msg_dict, cc_values)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 1155, in message_new
return self.create(data)
File "<decorator-gen-143>", line 2, in create
File "/usr/lib/python3/dist-packages/odoo/api.py", line 335, in _model_create_multi
return create(self, [arg])
File "/usr/lib/python3/dist-packages/odoo/addons/base_automation/models/base_automation.py", line 268, in create
action._process(action._filter_post(records))
File "/usr/lib/python3/dist-packages/odoo/addons/base_automation/models/base_automation.py", line 221, in _process
raise e
File "/usr/lib/python3/dist-packages/odoo/addons/base_automation/models/base_automation.py", line 218, in _process
self.action_server_id.with_context(**ctx).run()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_actions.py", line 538, in run
raise AccessError(_("You don't have enough access rights to run this action."))
I tried to give the portal user more access but the issue remains?
Thanks for any suggestions
Am I asking a stupid question or is this a hard question?