diff --git a/tryton/pyson.py b/tryton/pyson.py index 3caf79be1b..59c6a5ce9e 100644 --- a/tryton/pyson.py +++ b/tryton/pyson.py @@ -525,7 +525,10 @@ class In(PYSON): @staticmethod def eval(dct, context): - return dct['k'] in dct['v'] + if dct['v']: + return dct['k'] in dct['v'] + else: + return False class Date(PYSON):