Esempio n. 1
0
 def _get_other_actions(self):
     """
     Return the description of other available actions :
         signed_status
         duplicate
         ...
     """
     result = []
     result.append(self._get_duplicate_button())
     result.extend(TaskRestView._get_other_actions(self))
     return result
Esempio n. 2
0
 def _get_other_actions(self):
     """
     Return the description of other available actions :
         signed_status
         duplicate
         ...
     """
     result = []
     result.append(self._get_duplicate_button())
     if self.request.has_permission('set_signed_status.estimation'):
         result.append(self._get_signed_status_button())
     result.extend(TaskRestView._get_other_actions(self))
     return result
Esempio n. 3
0
 def _get_other_actions(self):
     """
     Return the description of other available actions :
         signed_status
         duplicate
         ...
     """
     result = []
     result.append(self._get_duplicate_button())
     if self.request.has_permission('set_signed_status.estimation'):
         result.append(self._get_signed_status_button())
     result.extend(
         TaskRestView._get_other_actions(self)
     )
     return result