跳至内容
菜单
此问题已终结
1 回复
1390 查看

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)

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
4
4月 18
8674
0
8月 25
3
2
8月 25
145
1
8月 25
277
1
8月 25
222