Searching on the `address` field in leads errors out

Bug #1002730 reported by Xavier (Open ERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Low
OpenERP's Framework R&D

Bug Description

Go into leads, Advanced Search, select the second field called "Contacts" (for `address`), leave the default operator (contains) and enter any value (e.g. "i").

Then search using that advanced filter:

    "Contacts" (second one, address field) contains 'i'
      File "server/openerp/sql_db.py", line 212, in execute
        res = self._obj.execute(query, params)
    ProgrammingError: column "partner_id" does not exist
    LINE 1: SELECT "partner_id" FROM "res_partner" WHERE "id" IN (4, 18,...

[reported by apr]

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
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.