listgrid.py error in code

Bug #931412 reported by Xavier Fernandez http://www.smile.fr
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Confirmed
Low
OpenERP Publisher's Warranty Team

Bug Description

default_get and on_change mix typo error.

=== modified file 'addons/openerp/widgets/listgrid.py'
--- addons/openerp/widgets/listgrid.py 2012-01-06 11:29:16 +0000
+++ addons/openerp/widgets/listgrid.py 2012-02-13 12:48:14 +0000
@@ -316,7 +316,7 @@

                 new_values = response["value"]
                 for k, v in new_values.items():
- if v not in values or values[k] != v:
+ if k not in values or values[k] != v:
                         values[k] = v

         for f in fields:

There is no reason to expect v which is a value in values (which is a default_get return).

Revision history for this message
Xavier Fernandez http://www.smile.fr (xav-fernandez) wrote :
Revision history for this message
Xavier Fernandez http://www.smile.fr (xav-fernandez) wrote :

In webclient 6.0, revno 4761

Changed in openobject-client-web:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Low
status: New → Confirmed
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.