We have installed Gantt View Pro Odoo 14 Edition. Installation was smooth without any errors. For an empty project which has not any tasks, Bryntum Gantt View works fine. We can create new tasks and everything seems functioning. We can also see these created tasks when we change the view to Kanban or other views. However, when we switch to Bryntum Gantt View again (in this case we have tasks in the project), an error occurs and we cannot see Bryntum Gantt view, The error details are provided below. We should note that we have Custom Fields in the Task Data Model.
Error:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in dispatch
result = request.dispatch()
File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
result = self.call_function(**self.params)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper
return f(dbname, args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 347, in checked_call
result = self.endpoint(a, **kw)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 912, in call
return self.method(args, **kw)
File "/usr/lib/python3/dist-packages/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 1347, in search_read
return self.do_search_read(model, fields, offset, limit, domain, sort)
File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1366, in do_search_read
return Model.web_search_read(domain, fields, offset=offset, limit=limit, order=sort)
File "/usr/lib/python3/dist-packages/odoo/addons/web/models/models.py", line 53, in web_search_read
records = self.search_read(domain, fields, offset=offset, limit=limit, order=order)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4839, in search_read
result = records.read(fields)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3020, in read
return self.read_format(fnames=fields, load=load)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 3040, in read_format
vals[name] = convert(record[name], record, use_name_get)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 5666, in getitem
return self.fields[key].get(self, type(self))
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 2483, in get
return super().get(records, owner)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1019, in get
self.compute_value(recs)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1175, in compute_value
records._compute_field_value(self)
File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 410, in compute_field_value
return super().compute_field_value(field)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 4061, in _compute_field_value
getattr(self, field.compute)()
File "/usr/lib/python3/dist-packages/odoo/addons/dhx_gantt/models/task.py", line 71, in _compute_recursive_dependency_task_ids
task.recursive_dependency_task_ids = task.get_dependency_tasks(
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1107, in set
self.write(protected_records, value)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 3043, in write
return self.write_batch([(records, value)])
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 3059, in write_batch
raise ValueError("Wrong value for %s: %s" % (self, value))
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/http.py", line 639, in handle_exception
return super(JsonRequest, self).handle_exception(exception)
File "/usr/lib/python3/dist-packages/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Wrong value for project.task.recursive_dependency_task_ids: project.depending.tasks()