project icon indicating copy to clipboard operation
project copied to clipboard

[13.0] Error when entering Tasks and returning to Projects

Open Robssilva30 opened this issue 5 years ago • 3 comments

Hello, I installed the Module and after accessing the Timeline Vision, then viewing the tasks, when I try to return to the Projects Page through the link in the header, the following error is presented below


Traceback: update@https://localhost/web_timeline/static/src/js/timeline_controller.js:53:17 OdooClass.extend/</prototype[name]</<@https://localhost/web/static/src/js/core/class.js:90:38 reload@https://localhost/web/static/src/js/views/abstract_controller.js:228:33 _switchController/controllerDef</<@https://localhost/web/static/src/js/chrome/action_manager_act_window.js:551:50


Analyzing the JavaScript code, I found the following error:

Uncaught (in promise) TypeError: n_group_bys is undefined

Thank You!

Robssilva30 avatar Nov 12 '20 13:11 Robssilva30

https://user-images.githubusercontent.com/226753/103183414-8e143680-48b2-11eb-9f0d-42d7b0d2a55d.mp4

Also noticed this problem. There's a change between Odoo V12 and Odoo V13 (click on smart button in opened form in dialog mode).

This check in timeline_controller.js fails:

if (_.isEmpty(params)) {
                return res;
            }

params should be empty (or empty object), but is is an object with an empty breadcrumbs array. So the return is not executed.

The problem must be fixed in web_timeline addon. Maybe @Tardo could give some feedback. Thank you

skeller1 avatar Dec 28 '20 01:12 skeller1

Thanks @skeller1, I will wait for news in this module

Robssilva30 avatar Jan 06 '21 13:01 Robssilva30

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Aug 07 '22 12:08 github-actions[bot]