From fd13e6cb14e87e5ada83556b8919b3e2dc166434 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Fri, 6 Feb 2015 13:40:02 +0100 Subject: [PATCH] [IMP] support != operator --- partner_relations/model/res_partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partner_relations/model/res_partner.py b/partner_relations/model/res_partner.py index ff307b36e..4a29cc63d 100644 --- a/partner_relations/model/res_partner.py +++ b/partner_relations/model/res_partner.py @@ -89,7 +89,7 @@ class ResPartner(orm.Model): result = [] for arg in args: if isinstance(arg, tuple) and arg[0] == name: - if arg[1] not in ['=', 'like', 'not like', 'ilike', + if arg[1] not in ['=', '!=', 'like', 'not like', 'ilike', 'not ilike', 'in', 'not in']: raise orm.except_orm( _('Error'),