- problem export to MSP
successfully upgrade to 2.0.5, but there is error when export to MSP
Error:
Uncaught TypeError: Cannot read properties of undefined (reading 'internalId')
webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:231391
Traceback:
TypeError: Cannot read properties of undefined (reading 'internalId')
at MspExport.getAssignmentsData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:231391:46)
at MspExport.generateExportData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:230999:24)
at MspExport.export (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:231028:23)
at GanttToolbar.onMSPExport (webpack:///./src/lib/GanttToolbar.js?:617:41)
at Button.callback (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?70)
at Button.trigger (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:6949:40)
at Button.onInternalClick (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:55552:10)
at HTMLButtonElement.handler (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?72)
- error when opening task
note: its already upgrade to 2.0.5 as the setting already show selection to working calendar
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo14/odoo/addons/base/models/ir_http.py", line 237, in dispatch
result = request.dispatch()
File "/opt/odoo/odoo14/odoo/http.py", line 685, in dispatch
result = self.call_function(**self.params)
File "/opt/odoo/odoo14/odoo/http.py", line 361, in call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo14/odoo/service/model.py", line 94, in wrapper
return f(dbname, args, **kwargs)
File "/opt/odoo/odoo14/odoo/http.py", line 349, in checked_call
result = self.endpoint(a, **kw)
File "/opt/odoo/odoo14/odoo/http.py", line 908, in call
return self.method(args, **kw)
File "/opt/odoo/odoo14/odoo/http.py", line 533, in response_wrap
response = f(args, **kw)
File "/opt/odoo/odoo14/odoo/addons/web/controllers/main.py", line 1372, in call_kw
return self.call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo14/odoo/addons/web/controllers/main.py", line 1364, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo14/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo14/odoo/api.py", line 386, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo14/odoo/models.py", line 3011, in read
raise ValueError("Invalid field %r on model %r" % (name, self.name))
Exception
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/odoo/odoo14/odoo/http.py", line 641, in handle_exception
return super(JsonRequest, self).handle_exception(exception)
File "/opt/odoo/odoo14/odoo/http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Invalid field 'gantt_calendar' on model 'project.task'