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

Errors v.13 #64

Closed
jcerquin opened this issue May 6, 2020 · 1 comment
Closed

Errors v.13 #64

jcerquin opened this issue May 6, 2020 · 1 comment

Comments

@jcerquin
Copy link

jcerquin commented May 6, 2020

It shows an error when I try to register a Maintenance Request
And another error is available parts are not shown on maintenance orders even though they exist in inventory

Error - Register Maintenance Request (SEND REQUEST):

Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo13/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo13/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/opt/odoo/odoo13/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo13/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo13/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 915, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo13/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1326, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo13/addons/web/controllers/main.py", line 1314, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo13/odoo/api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo13-custom-addons/mro/mro.py", line 337, in action_send
request.write(value)
File "/opt/odoo/odoo13/addons/mail/models/mail_thread.py", line 329, in write
tracking = track_self.with_context(clean_context(self._context)).message_track(tracked_fields, initial_values)
File "/opt/odoo/odoo13/addons/mail/models/mail_thread.py", line 656, in message_track
if not subtype.exists():
AttributeError: 'str' object has no attribute 'exists'

@jcerquin jcerquin changed the title Error Errors v.13 May 6, 2020
@wowas18
Copy link
Contributor

wowas18 commented May 7, 2020

Thank you! Fixed in 7e4b494

@wowas18 wowas18 closed this as completed May 7, 2020
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