Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
972 Widoki
TypeError: Cannot read properties of undefined (reading 'resId')
    at TimesheetTimerRendererHook.onRecordChanged

Hi everyone,


I have this error while i try to add a description in a timesheet.
I have no developpement on this module

It is only since few days

Does anyone has the same error ?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi all,

I already created a support ticket with Odoo and they confirmed that it's a known bug and they are working on it.

Br, Ronald

Awatar
Odrzuć
Najlepsza odpowiedź

HI, we've got the exact same error since this week on Odoo.sh, Odoo 17. We neither have any custom module installed accessing timesheets nor is there any customization done regarding timesheets. However, we aren't yet able to force the error on an O17 Runbot instance. We tried to regenerate assets and clear the browser cache but couldn't fix it yet.

Here's the error in Chrome:

UncaughtPromiseError > TypeError

Uncaught Promise > Cannot read properties of undefined (reading 'resId')

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

    at TimesheetTimerRendererHook.onRecordChanged (https://.../web/assets/debug/web.assets_web_dark.js:183401:28) (/timesheet_grid/static/src/hooks/timesheet_timer_hooks.js:108)

    at Proxy._update (https://.../web/assets/debug/web.assets_web_dark.js:66258:36) (/web/static/src/model/relational_model/record.js:1241)

    at async https://.../web/assets/debug/web.assets_web_dark.js:65280:13 (/web/static/src/model/relational_model/record.js:263)

    at async HTMLInputElement.onChange (https://.../web/assets/debug/web.assets_web_dark.js:82737:21) (/web/static/src/views/fields/input_field_hook.js:77)


In Firefox it's just:

TypeError: this.timesheet is undefined

    onRecordChanged@http://.../web/assets/dcf693d/web.assets_web.min.js:17830:36

    _update@http://.../web/assets/dcf693d/web.assets_web.min.js:6180:24


Despite the error, Odoo 17 saves the change.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 25
959
1
kwi 25
1120
1
lut 24
2838
0
paź 24
4114
0
lis 22
2299