diff --git a/tryton/common/selection.py b/tryton/common/selection.py index 495005010d..902f646f55 100644 --- a/tryton/common/selection.py +++ b/tryton/common/selection.py @@ -93,7 +93,7 @@ class SelectionMixin(object): def _model_evaluator(allowed_models): def test(value): - return value[0] in allowed_models + return value[0] in allowed_models or not allowed_models return test if field.attrs['type'] == 'reference':