Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1389 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
4
avr. 18
8674
0
août 25
3
2
août 25
145
1
août 25
277
1
août 25
222