(self)
return res
Delete the given records, and cascade-delete their corresponding alias.
Delete the given records, and cascade-delete their corresponding alias.
Delete the given records and cascade - delete their corresponding alias .
def unlink(self):
        """ Delete the given records, and cascade-delete their corresponding alias. """
        aliases = self.mapped('alias_id')
        res = super(AliasMixin, self).unlink()
        aliases.sudo().unlink()
        return res
def unlink ( self ) : aliases = self . mapped ( 'alias_id' ) res = super ( AliasMixin , self ) . unlink ( ) aliases . sudo ( ) . unlink ( ) return res