code: def reactivate_workflow_transitions(cr, transition_conditions):
      
      for transition_id, condition in transition_conditions.iteritems():
          cr.execute(
              'update wkf_transition set condition = %s where id = %s',
              (condition, transition_id))
docs: Reactivate workflow transition previously deactivated by
      deactivate_workflow_transitions.
  
      :param transition_conditions: a dictionary returned by \
      deactivate_workflow_transitions
  
      .. versionadded:: 7.0
      .. deprecated:: 11.0
         Workflows were removed from Odoo as of version 11.0