diff --git a/product/ERP5Type/ERP5Type.py b/product/ERP5Type/ERP5Type.py index 46201c4e24eb4e72632ea3525d45cdba3b230f46..f271af561c8702986fcd9f39251033c7b2269a03 100644 --- a/product/ERP5Type/ERP5Type.py +++ b/product/ERP5Type/ERP5Type.py @@ -346,8 +346,6 @@ class ERP5TypeInformation(XMLObject, ob = klass(id) if temp_object: - if id in (None, ''): - raise ValueError("invalid object id") ob = ob.__of__(container) for ignore in ('activate_kw', 'is_indexable', 'reindex_kw'): kw.pop(ignore, None)