Bug on the partner m2o widget in a SO

Bug #690556 reported by Aline (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Medium
OpenERP R&D Web Team

Bug Description

In a sale order, the the partner m2o widget bug if you use the widget to see the list. (it works if you enter, manually, a name).
- go to sale order and create a new one
- add a customer by using the widget (not manually)
- bug :

Traceback (most recent call last):
  File "/home/aline/openerp/trunk/server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/aline/openerp/trunk/server/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 1861, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/aline/openerp/trunk/server/bin/osv/orm.py", line 4086, in _search
    cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
  File "/home/aline/openerp/trunk/server/bin/sql_db.py", line 76, in wrapper
    return f(self, *args, **kwargs)
  File "/home/aline/openerp/trunk/server/bin/sql_db.py", line 129, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR: l'opérateur n'existe pas : boolean ~~* unknown
LIGNE 1 : ...ner.customer = E'True') AND (res_partner.customer ilike E'%1...

Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-client-web:
status: Confirmed → In Progress
Changed in openobject-client-web:
status: In Progress → Fix Released
milestone: none → 6.0-rc2
Revision history for this message
Chirag Patel (OpenERP) (cpa-openerp) wrote :

Hello Aline (OpenERP),

It's fixed in Trunk web-client. Please update your code.
Revision Info:
4120 <email address hidden>

Thanks.

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.