Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1398 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Apr. 18
8675
2
Aug. 25
189
1
Aug. 25
314
1
Aug. 25
255
0
Aug. 25
257