[Chrome with eTiny] M2O search fail sometimes!

Bug #552469 reported by Stephane Wirtel (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Low
Unassigned

Bug Description

Created a LEAD, but cant select a "Partner" on the "Leads" tab. The search list does appear, and I select the radio button next to required partner, but when I click Select, the Partner field renames blank !

-----
Traceback (most recent call last):
  File "/mnt/openerp/server/bin/netsvc.py", line 244, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/mnt/openerp/server/bin/netsvc.py", line 73, in __call__
    return getattr(self, method)(*params)
  File "/mnt/openerp/server/bin/addons/base_module_record/base_module_record.py", line 38, in execute
    res = super(recording_objects_proxy, self).execute(*args, **argv)
  File "/mnt/openerp/server/bin/addons/use_control/services.py", line 72, in execute
    return super(recording_objects_proxy, self).execute(db, uid, passwd, object, method, *args)
  File "/mnt/openerp/server/bin/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/mnt/openerp/server/bin/osv/osv.py", line 61, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/mnt/openerp/server/bin/osv/osv.py", line 120, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/mnt/openerp/server/bin/osv/osv.py", line 112, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/mnt/openerp/server/bin/osv/orm.py", line 2164, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/mnt/openerp/server/bin/osv/orm.py", line 2235, in _read_flat
    order_by), sub_ids)
  File "/mnt/openerp/server/bin/sql_db.py", line 84, in execute
    res = self._obj.execute(query, params)
DataError: invalid input syntax for integer: "[object HTMLInputElement]"

Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hi Stèphane,
I am not getting "I select the radio button next to required partner",
Can you plz tell me how I reproduce it,
I think something happening with base_module_record ...

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Stephane,

I think, you need to provide more information, which modules you have installed.

If I guess correctly, it could be a problem of HTMLElement which has to return an Integer and javascript return the elements itself!
Or, could be an issue of malicious name_get().

Thanks.

affects: openobject-addons → openobject-client-web
Changed in openobject-client-web:
milestone: 5.0.9 → none
status: New → Incomplete
milestone: none → 5.0.9
Changed in openobject-client-web:
milestone: 5.0.9 → 5.0.10
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Stephane,

You are right its occur in google chrome when select record from many2one search popup.
Its already fixed in stable please update your code and notify us.

Revision ID: <email address hidden>
Revision Number: 2826

Thanks.

Changed in openobject-client-web:
status: Incomplete → Fix Committed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

I confirm the fix, Stephane.
Thanks.

Changed in openobject-client-web:
status: Fix Committed → Fix Released
summary: - Created a LEAD, but cant select a "Partner" on the "Leads" tab
+ [Chrome with eTiny] M2O search fail sometimes!
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.