Skip to content

Commit

Permalink
don't match res.partner.title on substrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Rehn committed Nov 26, 2014
1 parent 39d9aea commit 0eb8637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magentoerpconnect/partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def title(self, record):
if prefix:
title_ids = self.session.search('res.partner.title',
[('domain', '=', 'contact'),
('shortcut', 'ilike', prefix)])
('shortcut', '=ilike', prefix)])
if title_ids:
title_id = title_ids[0]
else:
Expand Down

0 comments on commit 0eb8637

Please # to comment.