Merge lp:~openerp-dev/openerp-web/6.1-opw-574625-bth into lp:openerp-web/6.1
Proposed by
Bhumi Thakkar (Open ERP)
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openerp-web/6.1-opw-574625-bth |
Merge into: | lp:openerp-web/6.1 |
Diff against target: |
61 lines (+6/-5) 2 files modified
addons/web/static/src/js/views.js (+3/-3) addons/web_graph/static/src/js/graph.js (+3/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/6.1-opw-574625-bth |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bhumi Thakkar (Open ERP) (community) | Needs Resubmitting | ||
Xavier (Open ERP) (community) | Disapprove | ||
Review via email: mp+109993@code.launchpad.net |
Description of the change
Hello,
Using browser's back button to navigate back to a opportunities screen in graph or list view results in error.
1. Go to Sales => Opportunities,
2. Open in Graph View or List View.
3. Select any other menu
4. Click on the browser's back button.
Observed: Error is coming in dialog box: "Cannot read property 'view_id' of undefined"
Extected: "Open in Graph View or List View"
put condition if fields_view do not get from controller then return false;
if fields_view get then view_id get from fields_view.
Thanks.
To post a comment you must log in.
Unmerged revisions
- 2361. By Bhumi Thakkar (Open ERP)
-
[FIX] set value of fields_view when view is loaded.
- 2360. By Bhumi Thakkar (Open ERP)
-
[FIX] Put condition before using object.
1. This is not the place at which the code blows up.
2. This is not a fix, it just bails out on an earlier piece of code's error, why is `fields_view` undefined at this point?