code: def register(self, model_alias, code='general', name=None, order=None, display_filter=None):
          
          model_alias = self.get_model_alias(model_alias)
  
          def wrapper(create_layout):
              item = TabItem(
                  code=code,
                  create_layout=create_layout,
                  name=name,
                  order=order,
                  display_filter=display_filter
              )
  
              if item in self.tabs[model_alias]:
                  raise Exception("Tab {} already registered for model {}".format(code, model_alias))
  
              self.tabs[model_alias].append(item)
              self.tabs[model_alias] = sorted(self.tabs[model_alias], key=lambda item: item.order if item.order else 999)
  
              return create_layout
          return wrapper
docs: Register new tab
  
          :param model_alias:
          :param code:
          :param name:
          :param order:
          :return: