entities/wfobjs.py
changeset 5224 34e669b6fd95
parent 5174 78438ad513ca
child 5423 e15abfdcce38
equal deleted inserted replaced
5223:6abd6e3599f4 5224:34e669b6fd95
   172 
   172 
   173     provides a specific may_be_fired method to check if the relation may be
   173     provides a specific may_be_fired method to check if the relation may be
   174     fired by the logged user
   174     fired by the logged user
   175     """
   175     """
   176     __regid__ = 'BaseTransition'
   176     __regid__ = 'BaseTransition'
   177     fetch_attrs, fetch_order = fetch_config(['name'])
   177     fetch_attrs, fetch_order = fetch_config(['name', 'type'])
   178 
   178 
   179     def __init__(self, *args, **kwargs):
   179     def __init__(self, *args, **kwargs):
   180         if self.__regid__ == 'BaseTransition':
   180         if self.__regid__ == 'BaseTransition':
   181             raise WorkflowException('should not be instantiated')
   181             raise WorkflowException('should not be instantiated')
   182         super(BaseTransition, self).__init__(*args, **kwargs)
   182         super(BaseTransition, self).__init__(*args, **kwargs)