Index: /main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py	(revision 12121)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py	(revision 12122)
@@ -163,4 +163,11 @@
         return
 
+
+    def update(self):
+        if self.context.student.state != REQUESTED \
+            or not  self.context.student.physical_clearance_date:
+            self.flash(_('Forbidden'), type="warning")
+            self.redirect(self.url(self.context))
+
     def render(self):
         studentview = StudentBasePDFFormPage(self.context.student,
Index: /main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py	(revision 12121)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py	(revision 12122)
@@ -171,10 +171,14 @@
             attr="secr_cults.jpg")
         file_store.createFile(file_id, StringIO(secr_cults))
+        # Clearance invitation letter is not yet available
+        self.browser.open(self.clearance_path)
+        self.assertFalse('invitation slip' in self.browser.contents)
+        self.browser.open(self.student_path + '/clearance_invitation_slip.pdf')
+        self.assertTrue('Forbidden' in self.browser.contents)
         self.browser.open(self.edit_clearance_path)
         self.browser.getControl("Save and request clearance").click()
-
         self.assertTrue('Clearance has been requested'
             in self.browser.contents)
-        # Student can export physical_clearance.slip
+        # Now student can export physical_clearance.slip
         self.app['configuration'].name = u'University of Benin'
         self.student.physical_clearance_date = u'January 5th, 2015'
Index: /main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py
===================================================================
--- /main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py	(revision 12121)
+++ /main/waeup.uniben/trunk/src/waeup/uniben/students/viewlets.py	(revision 12122)
@@ -67,4 +67,11 @@
     text = _('Download clearance invitation slip')
     target = 'clearance_invitation_slip.pdf'
+
+    @property
+    def target_url(self):
+        if self.context.student.state == REQUESTED \
+            and self.context.student.physical_clearance_date:
+            return self.view.url(self.view.context, self.target)
+        return False
 
 
