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

[FIX] mail_base - odoo_10_mails_reply_error #287

Open
Ramil-Mukhametzyanov opened this issue Mar 23, 2020 · 1 comment
Open

[FIX] mail_base - odoo_10_mails_reply_error #287

Ramil-Mukhametzyanov opened this issue Mar 23, 2020 · 1 comment

Comments

@Ramil-Mukhametzyanov
Copy link

Ramil-Mukhametzyanov commented Mar 23, 2020

?debug=assets
Traceback (most recent call last):
File "/mnt/odoo-source/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/mnt/odoo-source/odoo/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/mnt/odoo-source/odoo/http.py", line 334, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/mnt/odoo-source/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/mnt/odoo-source/odoo/http.py", line 327, in checked_call
result = self.endpoint(*a, **kw)
File "/mnt/odoo-source/odoo/http.py", line 942, in call
return self.method(*args, **kw)
File "/mnt/odoo-source/odoo/http.py", line 507, in response_wrap
response = f(*args, **kw)
File "/mnt/odoo-source/addons/web/controllers/main.py", line 899, in call_button
action = self._call_kw(model, method, args, {})
File "/mnt/odoo-source/addons/web/controllers/main.py", line 887, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/mnt/odoo-source/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/mnt/odoo-source/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/mnt/odoo-source/addons/mail/wizard/mail_compose_message.py", line 194, in send_mail_action
return self.send_mail()
File "/mnt/addons/it-projects-llc/mail-addons/mail_base/models.py", line 27, in send_mail
res = super(MailComposer, self).send_mail(auto_commit=auto_commit)
File "/mnt/odoo-source/addons/mail/wizard/mail_compose_message.py", line 258, in send_mail
**mail_values)
File "/mnt/odoo-source/addons/mail/models/mail_thread.py", line 1886, in message_post
new_message = MailMessage.create(values)
File "/mnt/odoo-source/addons/mail/models/mail_message.py", line 738, in create
values['reply_to'] = self._get_reply_to(values)
File "/mnt/odoo-source/addons/mail/models/mail_message.py", line 705, in _get_reply_to
return self.env[model].message_get_reply_to([res_id], default=email_from)[res_id]
AttributeError: 'mail.mail' object has no attribute 'message_get_reply_to'


Traceback (most recent call last):
File "/mnt/odoo-source/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/mnt/odoo-source/odoo/http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "/mnt/odoo-source/odoo/http.py", line 334, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/mnt/odoo-source/odoo/service/model.py", line 101, in wrapper
return f(dbname, *args, **kwargs)
File "/mnt/odoo-source/odoo/http.py", line 327, in checked_call
result = self.endpoint(*a, **kw)
File "/mnt/odoo-source/odoo/http.py", line 942, in call
return self.method(*args, **kw)
File "/mnt/odoo-source/odoo/http.py", line 507, in response_wrap
response = f(*args, **kw)
File "/mnt/odoo-source/addons/web/controllers/main.py", line 899, in call_button
action = self._call_kw(model, method, args, {})
File "/mnt/odoo-source/addons/web/controllers/main.py", line 887, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/mnt/odoo-source/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/mnt/odoo-source/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/mnt/odoo-source/addons/mail/wizard/mail_compose_message.py", line 194, in send_mail_action
return self.send_mail()
File "/mnt/addons/it-projects-llc/mail-addons/mail_base/models.py", line 27, in send_mail
res = super(MailComposer, self).send_mail(auto_commit=auto_commit)
File "/mnt/odoo-source/addons/mail/wizard/mail_compose_message.py", line 258, in send_mail
**mail_values)
File "/mnt/odoo-source/addons/mail/models/mail_thread.py", line 1886, in message_post
new_message = MailMessage.create(values)
File "/mnt/odoo-source/addons/mail/models/mail_message.py", line 738, in create
values['reply_to'] = self._get_reply_to(values)
File "/mnt/odoo-source/addons/mail/models/mail_message.py", line 705, in _get_reply_to
return self.env[model].message_get_reply_to([res_id], default=email_from)[res_id]
AttributeError: 'mail.mail' object has no attribute 'message_get_reply_to'


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@yelizariev
Copy link
Collaborator

Чтобы воспроизвести нужно только mail_base установить?

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

2 participants