UncaughtPromiseError
Uncaught Promise > View types not defined tree found in act_window action 645
Occured on localhost:8069 on 2025-02-19 11:49:02 GMT
Error: View types not defined tree found in act_window action 645
at _executeActWindowAction (http://localhost:8069/web/assets/debug/web.assets_web.js:98273:19) (/web/static/src/webclient/actions/action_service.js:1162)
at Object.doAction (http://localhost:8069/web/assets/debug/web.assets_web.js:98514:24) (/web/static/src/webclient/actions/action_service.js:1403)
at async Object.selectMenu (http://localhost:8069/web/assets/debug/web.assets_web.js:100500:13) (/web/static/src/webclient/menus/menu_service.js:63)
Hi,
The error "View types not defined tree found in act_window action 645" indicates a missing or improperly defined tree view referenced by an action window. Here's an example of tree view and action:
Regards,
Jishna
Accurates
The error occurs because the type field is incorrectly specified in your view definitions. In Odoo, you don't need to explicitly define the type field - it's automatically determined from the root element in the arch field.
Regards,
Jishna
Accurates