Comment 1 for bug 530822

Revision history for this message
Stephane Wirtel (OpenERP) (stephane-openerp) wrote : Re: [Bug 530822] [NEW] [5.0] Regression in base_contact: revno 2568 breaks res.partner.job search (2010-02-05)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I think that the code is wrong because the 'name' field of res.partner.job is a res.partner :/

We can override the search and use a key in the context or replace the name_search.

To check

- --
Stephane Wirtel - "As OpenERP is OpenSource, please feel free to contribute."
Quality/Release Manager
Technical Project Manager
Tiny SPRL
40, Chaussee de Namur
B-1367 Grand-Rosiere
* Tel: +32.81.81.37.00
* Fax: +32.81.73.35.01
* Web: http://www.openerp.com
* Planet: http://www.openerp.com/planet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuNSzsACgkQnqh8s27uQNW4hACgqo7klkfwNTPWDksgFp8+2sgI
8BMAn3tHVZyeLCFyWcByPIVZbU7NbiNV
=BCtP
-----END PGP SIGNATURE-----