Fix typo on vat_code searcher

issue4903
review15591002
This commit is contained in:
Sergi Almacellas Abellana committed 2015-07-31 11:28:35 +02:00
1 parent 820573aa45
commit da47dc26b0
1 file changed
+2 -2
+2 -2
View File
@@ -117,8 +117,8 @@ class Party(ModelSQL, ModelView):
@classmethod
def search_vat_code(cls, name, clause):
return [
('identifier.code',) + tuple(clause[1:]),
('identifier.type', 'in', cls._vat_types()),
('identifiers.code',) + tuple(clause[1:]),
('identifiers.type', 'in', cls._vat_types()),
]
def get_full_name(self, name):