Skip to Content
Menu
This question has been flagged
1 Reply
1095 Views

After editing an action with the debug mode where I put in the "Domain" field, the URL of my filter I wanted to default instead of a Python expression I guess ...

Here is the Error message I have when I click on the tab where I edited the action:


UncaughtPromiseError > EvalError

Uncaught Promise > Can not parse python expression: (&view_type=kanban&cids=1&menu_id=418)

Error: Token cannot be parsed

EvalError: Can not parse python expression: (&view_type=kanban&cids=1&menu_id=418)

Error: Token cannot be parsed

    at evaluateExpr (https://deloitte-autimatic.odoo.com/web/assets/debug/web.assets_web.js:110751:13) (/web/static/src/webclient/menus/menu_service.js:72)

Avatar
Discard
Best Answer

Hi,

The updated domain might be not in the valid format and thus you are getting this traceback. In order to solve the issue, you can do as follows:

* Enable debug mode
* Navigate to Window Actions menu under Settings -> Technical
* Search for your action, you can search with your menu name
* Open the action and roll back the domain to its original or check and correct the syntax of the domain

Thanks

Avatar
Discard
Related Posts Replies Views Activity
4
Apr 18
8417
0
Jun 25
35
1
May 25
471
0
May 25
431
0
May 25
392