diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py index 41ca352dde16dc56c7d011c04333f04e38a11612..dec039103aa1c9a280123446507814d26299bc3c 100644 --- a/product/ERP5Type/Utils.py +++ b/product/ERP5Type/Utils.py @@ -337,7 +337,7 @@ class DocumentConstructor(Method): folder._setObject(id, o) o = folder._getOb(id) # if no activity tool, the object has already an uid - if getattr(aq_base(o),' uid', None) is None: + if getattr(aq_base(o), 'uid', None) is None: o.uid = folder.portal_catalog.newUid() if kw: o._edit(force_update=1, **kw) if REQUEST is not None: