ValueError: Invalid field 'x_studio_many2one_field_l9oN4' on model 'approval.request'
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
ValueError: Invalid field 'x_studio_many2one_field_l9oN4' on model 'approval.request'
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 24
|
295 | ||
|
0
Nov 22
|
1526 | ||
many to one domain field
Solved
|
|
1
Feb 22
|
1788 | |
|
0
Jul 21
|
2350 | ||
|
2
Nov 20
|
1392 |
Odoo Error related to the problem;
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1389, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo/odoo/models.py", line 6205, in onchange
record._update_cache(changed_values, validate=False)
File "/opt/odoo/odoo/odoo/models.py", line 5152, in _update_cache
cache.set(self, field, field.convert_to_cache(value, self, validate))
File "/opt/odoo/odoo/odoo/fields.py", line 2653, in convert_to_cache
id_ = record.env[self.comodel_name].new(value).id
File "/opt/odoo/odoo/odoo/models.py", line 5506, in new
record._update_cache(values, validate=False)
File "/opt/odoo/odoo/odoo/models.py", line 5148, in _update_cache
raise ValueError("Invalid field %r on model %r" % (e.args[0], self._name))
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Invalid field 'x_studio_many2one_field_l9oN4' on model 'approval.request'