(self)
return obj
Create a ZODB (editable) equivalent of this object.
Create a ZODB (editable) equivalent of this object.
Create a ZODB ( editable ) equivalent of this object .
def _createZODBClone(self):
        """Create a ZODB (editable) equivalent of this object."""
        type_info = self.getPortalObject().portal_types.getTypeInfo('ERP5 Form')
        obj = type_info.constructInstance(container=self,
                                          temp_object=True,
                                          id=self.getId(),
                                          title=self.title).aq_base
        obj.set_xml(self.get_xml())
        return obj
def _createZODBClone ( self ) : type_info = self . getPortalObject ( ) . portal_types . getTypeInfo ( 'ERP5 Form' ) obj = type_info . constructInstance ( container = self , temp_object = True , id = self . getId ( ) , title = self . title ) . aq_base obj . set_xml ( self . get_xml ( ) ) return obj