equal
deleted
inserted
replaced
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) |