Post by visiniaga »

hi Support,

installed in Odoo Server 14.0+e-20210914

there is error while create project task:

Error:

Traceback:

TypeError: Cannot read properties of undefined (reading 'appendChild')

at GanttToolbar._callee$ (webpack:///./src/lib/GanttToolbar.js?:115:49)

at tryCatch (webpack:///./node_modules/regenerator-runtime/runtime.js?:63:40)

at Generator.invoke [as _invoke] (webpack:///./node_modules/regenerator-runtime/runtime.js?:294:22)

at Generator.eval [as next] (webpack:///./node_modules/regenerator-runtime/runtime.js?:119:21)

at asyncGeneratorStep (webpack:///./src/lib/GanttToolbar.js?:10:103)

at _next (webpack:///./src/lib/GanttToolbar.js?:12:194)

at eval (webpack:///./src/lib/GanttToolbar.js?:12:364)

at new Promise (<anonymous>)

at GanttToolbar.eval (webpack:///./src/lib/GanttToolbar.js?:12:97)

at GanttToolbar.onAddTaskClick (webpack:///./src/lib/GanttToolbar.js?:141:32)

in the message log showing:
Sep 19 14:44:34 odoo journal[2828]: Odoo Server 14.0+e-20210914:Final6:ERROR:odoo.sql_db:bad query: INSERT INTO "calendar_event" ("id", "create_uid", "create_date", "write_uid", "write_date", "active", "allday", "custom_project_id", "custom_task_id", "description", "duration", "follow_recurrence", "location", "name", "need_sync", "privacy", "show_as", "start", "stop", "user_id") VALUES (nextval('calendar_event_id_seq'), 14, (now() at time zone 'UTC'), 14, (now() at time zone 'UTC'), true, false, 38, 296, '', 0.0, false, NULL, 'New task', true, NULL, NULL, NULL, NULL, 14) RETURNING id#012ERROR: null value in column "start" violates not-null constraint#012DETAIL: Failing row contains (13300, null, New task, null, null, f, null, null, 0, , null, null, null, null, null, null, 14, t, null, null, f, 14, 2021-09-19 07:44:34.248668, 14, 2021-09-19 07:44:34.248668, null, t, null, 296, 38).

Sep 19 14:44:34 odoo journal[2828]: Odoo Server 14.0+e-20210914:Final6:WARNING:odoo.http:The operation cannot be completed:#012- Create/update: a mandatory field is not set.#012- Delete: another model requires the record being deleted. If possible, archive it instead.#012#012Model: Calendar Event (calendar.event), Field: Start (start)

Sep 19 14:44:34 odoo journal[2828]: Odoo Server 14.0+e-20210914:Final6:INFO:werkzeug:114.141.91.244 - - [19/Sep/2021 07:44:34] "POST /bryntum_gantt/send/create HTTP/1.0" 200 -

Sep 19 14:44:34 odoo journal[2829]: Odoo Server 14.0+e-20210914:Final6:INFO:werkzeug:114.141.91.244 - - [19/Sep/2021 07:44:34] "POST /web/dataset/search_read HTTP/1.0" 200 -

Sep 19 14:44:34 odoo journal[2829]: Odoo Server 14.0+e-20210914:?:INFO:werkzeug:114.141.91.244 - - [19/Sep/2021 07:44:34] "GET /web/static/src/xml/dialog.xml?debug=1632037473245 HTTP/1.0" 200 -

Sep 19 14:44:34 odoo journal[2829]: Odoo Server 14.0+e-20210914:?:INFO:werkzeug:114.141.91.244 - - [19/Sep/2021 07:44:34] "GET /web/static/src/xml/crash_manager.xml?debug=1632037473357 HTTP/1.0" 200 -

Attachments
Screenshot 2021-09-19 2.42.58 PM.png
Screenshot 2021-09-19 2.42.58 PM.png (160.5 KiB) Viewed 1292 times

Post by mats »

I believe this happened since you did not select a task? We'll look into this first thing tomorrow!

Thanks for reporting.


Post by visiniaga »

the problem disappear when uninstall custom apps task_calendar_synch,
may the problem cause by the module.


Post by Terence »

Ok this seems to be a conflict with another module, we wil look into it.


Post by Terence »


Post by Terence »

This error needs to be resolved in the module which causes the error. Please contact its vendors.


Post Reply