[v14] error state is null when clicking the breadcrumb in view displayed from kpi action the dashboard view seem null either
Opened this issue · 0 comments
Module
kpi_dashboard
Describe the bug
in a kpi add an ir.action.act_windod that will display tree view of a model records make the shown value in the kpi tile, so the action will be shown in kpi tile when the ellipsis buttin i sclicked, then clik on the action, the tree view is displayed (target current or new), the breadcrumb link also shown in the view (i am using the view_id form core model, only modify the domain on the action definition), when the breadcrumb is clicked to go back to the dashboard view, the erro is popped up with trace:
Traceback:
Error: state is null
_getActionMenuItems@https://demo.../web/content/774-d9657b5/web.assets_backend.js:1662:534
_updateControlPanelProps@https://demo..../web/content/774-d9657b5/web.assets_backend.js:1368:56
_update@https://demo..../web/content/774-d9657b5/web.assets_backend.js:1363:118
update@https://demo..../web/content/774-d9657b5/web.assets_backend.js:1358:224
To Reproduce
Affected versions: V14
Steps to reproduce the behavior:
in a kpi add an ir.action.act_windod that will display tree view of a model records make the shown value in the kpi tile, so the action will be shown in kpi tile when the ellipsis buttin i sclicked, then clik on the action, the tree view is displayed (target current or new), the breadcrumb link also shown in the view (i am using the view_id form core model, only modify the domain on the action definition), when the breadcrumb is clicked to go back to the dashboard view, the erro is popped up with trace:
- to define custom action to open a view (ir.action.act_window), view_id : try with sale order default tree view or others
- Go to the menu to display the dashboard
- click on ellipsis button in the tile (the three dot ...)
- The view will be displayed successfully, we can interact to pen the form view of the record as well
- Then go to the dashboard view by clicking the breadcrumb link or close x the tree view
- The error will happen for both clicking the the breadcrumb link or closing the tree view
Expected behavior:
Clicking on breadcrumb or closing the popped up view, should not returning error and can go back to the calling dashboard view.
Please anyone help info if i do missing something . Thank you