Closing dialog opened from list view: 'record is undefined'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) | Status tracked in Trunk | |||||
6.1 |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team | |||
Trunk |
Invalid
|
Low
|
Unassigned | |||
OpenERP Community Backports (Web) |
New
|
Undecided
|
Unassigned | |||
6.1 |
New
|
Undecided
|
Unassigned | |||
Therp Backports (Deprecated) |
Fix Committed
|
Undecided
|
Unassigned | |||
Web-6.1 |
Fix Committed
|
High
|
Unassigned |
Bug Description
If you open a dialog with a button defined on a list view, close it, do a different search and open the dialog again, it will throw the error 'record is undefined' when trying to close this one.
To reproduce:
* Go to Settings-
* Switch to list view
* Search for crm
* Click the install button for crm
* Close the dialog
* Search for account
* Click the install button for account
* Try to close the dialog
/error/
Analysis:
The dialog created in http://
This then goes wrong if the current search result doesn't contain this record.
Trunk has the same problem, even though http://
Patch follows in a while.
Related branches
- Stefan Rijnhart (Opener) (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 59 lines (+17/-3)3 files modifiedaddons/web/static/src/js/core.js (+9/-0)
addons/web/static/src/js/view_list.js (+4/-3)
addons/web/static/src/js/views.js (+4/-0)
- Antony Lesuisse (OpenERP): Needs Fixing
-
Diff: 34 lines (+13/-0)2 files modifiedaddons/web/static/src/js/corelib.js (+9/-0)
addons/web/static/src/js/views.js (+4/-0)
description: | updated |
Changed in therp-backports: | |
status: | New → Fix Committed |
Hello Holger Brunn,
I have checked your Issue with latest trunk and 6.1, But It's affected only 6.1. and It's not blocking Issue. That's why I am confirm this Issue with low Importance.
Thanks for contribution!