Skip to content

Odoo 18: Uncaught Promise > Cannot read properties of undefined (reading 'context') #1009

@edc1970

Description

@edc1970

Hello! My apologies but I have been trying to fix this error on Odoo 18. My custom module using xslxwriter works well on Odoo 12 but as I am currently upgrading to 18, I have been stumped for days by the error below:

`Odoo Client Error

UncaughtPromiseError > TypeError
Uncaught Promise > Cannot read properties of undefined (reading 'context')

Occured on 192.168.100.5:8000 on 2025-04-29 01:54:42 GMT

TypeError: Cannot read properties of undefined (reading 'context')
at http://192.168.100.5:8000/web/assets/feb70c6/web.assets_web.min.js:24847:85
at _executeReportAction (http://192.168.100.5:8000/web/assets/feb70c6/web.assets_web.min.js:10020:175)
at Object.doAction (http://192.168.100.5:8000/web/assets/feb70c6/web.assets_web.min.js:10033:328)`

This occurs when executing the print action button on the form. No other error shows on the console log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions