[trunk/7.0]Buttons in sublist generates error after an onchange

Bug #1227775 reported by Quentin Peyramale (ADN)
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 1
Odoo Web (MOVED TO GITHUB)
Invalid
Undecided
OpenERP Publisher's Warranty Team

Bug Description

Hello,

When you click on a button place in a sublist (one2many,many2many) in a form after an onchange, we get this error:

Uncaught TypeError: Cannot call method 'toContext' of undefined

Example:

-Make a meeting with invitations and save
-Edit this meeting, change the date and try to accept/decline an invitation

Tests made on the online demo and the latest revision.

Hope to have been clear.

Regards

Tags: maintenance
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Quentin,

I have checked this issue with different browsers , and with this browsers I am facing different errors:

Fire Fox (Version 23.0):

TypeError: this.records.get(...) is undefined
http://localhost:8069/web/webclient/js?db=trnk:3466

Google Chrome (Version 29.0.1547.65):

Uncaught TypeError: Cannot call method 'toContext' of undefined
http://localhost:8069/web/webclient/js?db=trnk:3466

Opera (Version 12.16) :

Uncaught exception: TypeError: Cannot convert 'this.records.get(id)' to object
http://localhost:8069/web/webclient/js?db=trnk:3463

So, I am confirming this issue.

Thank you.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
summary: - Buttons in sublist generates error after an onchange
+ [trunk/7.0]Buttons in sublist generates error after an onchange
Revision history for this message
Asgardinho (felipereyesazul) wrote :

Any ideas on how to resolve this?

Revision history for this message
Kinner Vachhani (kinner-vachhani) wrote :

The seems to be at addons/web/static/src/js/view_list.js :613

Changed in openerp-web:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Mohammed Shekha(Open ERP) (msh-openerp) wrote :

Hello,

I tried to reproduce this issue but unable reproduce this with provided steps.

It seems that issue has been resolved, let me know if someone still face this issue in latest code.

It would be appreciated if one can provide video for the same with latest code.

Thanks.

Changed in openerp-web:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.