Comment 1 for bug 987438

Revision history for this message
Ray Carnes (rcarnes) wrote : Re: Partial searching of ZIP field not supported for Customers

FIX FOR THIS BUG:

Make a small change to server\openerp\addons\base\res\res_partner.py:

Line 358 - change the search operator used to find matches.

ORIGINAL: ids = self.search(cr, user, [('zip','=',name)] + args, limit=limit, context=context)

CHANGE: ids = self.search(cr, user, [('zip',operator,name)] + args, limit=limit, context=context)