diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index e674f117daac373267a7c5270345075a5cecf794..e180cae64506c5fd37d111732783fb0aae256b7a 100755 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -2289,6 +2289,12 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): # Add to catalog self.reindexObject() + security.declarePublic('serialize') + def serialize(self): + """Make the transaction accessing to this object atomic + """ + self.id = self.id + InitializeClass(Base) class TempBase(Base):