cubicweb/web/views/workflow.py
branch3.26
changeset 12432 2fcb53ee5178
parent 12251 fd7086b701de
child 12503 b01dd0ef43aa
equal deleted inserted replaced
12431:a570191d67b0 12432:2fcb53ee5178
   187 # workflow actions #############################################################
   187 # workflow actions #############################################################
   188 
   188 
   189 class WorkflowActions(action.Action):
   189 class WorkflowActions(action.Action):
   190     """fill 'workflow' sub-menu of the actions box"""
   190     """fill 'workflow' sub-menu of the actions box"""
   191     __regid__ = 'workflow'
   191     __regid__ = 'workflow'
   192     __select__ = (action.Action.__select__ & one_line_rset() &
   192     __select__ = (action.Action.__select__ & one_line_rset()
   193                   relation_possible('in_state'))
   193                   & relation_possible('in_state'))
   194 
   194 
   195     submenu = _('workflow')
   195     submenu = _('workflow')
   196     order = 10
   196     order = 10
   197 
   197 
   198     def fill_menu(self, box, menu):
   198     def fill_menu(self, box, menu):