many2many field with readonly turned on returns a list of ids instead of a tuple of a list

Bug #865293 reported by Ivan Wirawan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Won't Fix
Undecided
Unassigned

Bug Description

In Web client, many2many fields with readonly turned on returns list of selected ids, where as when the readonly turned off it returns a list that contains the following tuple: ( 6, 0, [ids]) where [ids] is the list of selected ids.

The GTK client behaviour is consistent between readonly turned on and off, which is returning [( 6, 0, [ids])]

Attached file shows the variable watch at the same break-point between web-client and GTK-client.

Revision history for this message
Ivan Wirawan (niecw) wrote :
Revision history for this message
Ivan Wirawan (niecw) wrote :
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

hello Ivan Wirawan,

6.0 web-client and GTK-client both have different architecture
so that's why GTK and web-client both pass the value in
different format for read only field.

Currently it working with new web client 6.1.

For this type of stable version's issue, If you have a support
and maintenance contract with us then you can contact
with our OPW team at <email address hidden>,
they will definitely help you.

Thank you!

Changed in openobject-client-web:
status: New → Won't Fix
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.