parameters: (self, field_ids, from_group, to_group)
return_statement: return True
docstring: Moves a fields from one group to the other.
docstring_summary: Moves a fields from one group to the other.
docstring_tokens: Moves a fields from one group to the other .
function: def move_field_group(self, field_ids, from_group, to_group):
          """Moves a fields from one group to the other.
          """
          if len(field_ids) == 0 or from_group == to_group:
              return False
          groups = self.groups
          from_list = groups[from_group]
          to_list = groups[to_group]
          for field in self.get_fields_in_group(from_group, include_disabled=1)[:]:
              if field.id in field_ids:
                  from_list.remove(field.id)
                  to_list.append(field.id)
          self.groups = groups
          return True
function_tokens: def move_field_group ( self , field_ids , from_group , to_group ) : if len ( field_ids ) == 0 or from_group == to_group : return False groups = self . groups from_list = groups [ from_group ] to_list = groups [ to_group ] for field in self . get_fields_in_group ( from_group , include_disabled = 1 ) [ : ] : if field . id in field_ids : from_list . remove ( field . id ) to_list . append ( field . id ) self . groups = groups return True