Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1409 Prikazi

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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
apr. 18
8683
0
avg. 25
7
0
avg. 25
2
0
avg. 25
3
0
avg. 25
3