diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index aefa6fec81b3f67cf1d369ee36d93f1b53639340..c8287d60d455cab8f0c609f952b54191db829cf6 100755 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -1271,8 +1271,9 @@ class Base( CopyContainer, PortalContent, Base18, ActiveObject, ERP5PropertyMana # Define local properties if kw is not None: context.__dict__.update(kw) # Make it a temp content + temp_object = TempBase() for k in ('isIndexable', 'reindexObject', 'recursiveReindexObject', 'activate', 'setUid', ): - setattr(context, k, getattr(TempBase,k)) + setattr(context, k, getattr(temp_object,k)) # Return result return context.__of__(self) else: