Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0] mail_drop_target - RPC_ERROR Odoo Server Error - (bug) #1344

Open
khaemm opened this issue Apr 6, 2024 · 0 comments
Open

[15.0] mail_drop_target - RPC_ERROR Odoo Server Error - (bug) #1344

khaemm opened this issue Apr 6, 2024 · 0 comments

Comments

@khaemm
Copy link

khaemm commented Apr 6, 2024

module: mail_drop_target
version: 15.0

Steps to reproduce
I am on Windows 10.
I have Thunderbird opened, with a list of mail on it.
I have Odoo opened on CRM with Firefox.
I made a "Click and move" on the CRM note part.

Current behavior
After a moment, I had an error message :
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/odoo/odoo-server/odoo/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo-server/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/odoo/http.py", line 916, in call
return self.method(*args, **kw)
File "/odoo/odoo-server/odoo/http.py", line 535, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 1343, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 1335, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 460, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "/odoo/odoo-server/odoo/api.py", line 433, in _call_kw_model
result = method(recs, *args, **kwargs)
File "/odoo/custom/addons/mail_drop_target/models/mail_thread.py", line 39, in message_drop
result = self_message_process.message_process(
File "/odoo/odoo-server/addons/mail/models/mail_thread.py", line 1123, in message_process
routes = self.message_route(message, msg_dict, model, thread_id, custom_values)
File "/odoo/odoo-server/addons/mail/models/mail_thread.py", line 980, in message_route
route = self._routing_check_route(message, message_dict, route, raise_exception=True)
File "/odoo/odoo-server/addons/mail/models/mail_thread.py", line 786, in _routing_check_route
self.routing_warn(('model %s does not accept document creation', model), message_id, route, raise_exception)
File "/odoo/odoo-server/addons/mail/models/mail_thread.py", line 652, in _routing_warn
raise ValueError(short_message)
Exception

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

Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Boîte de réception non disponible – Le modèle res.users n'accepte pas la création de documents

Expected behavior
Normaly, the mail will have to go in the notes of opportunity.

I can give you more details if necessary.

Can someone help me please ?

Thanks,
Best regards,
Emmanuel

@khaemm khaemm changed the title mail_drop_target - RPC_ERROR Odoo Server Error [15.0] mail_drop_target - RPC_ERROR Odoo Server Error - (bug) May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant