Browse Source

fix resource table

blezz-tech 4 weeks ago
parent
commit
3bf4a4e2e6
1 changed files with 8 additions and 2 deletions
  1. 8 2
      sharix_admin/tables.py

+ 8 - 2
sharix_admin/tables.py

@@ -60,8 +60,14 @@ class ResourceTable(tables.Table):
     class Meta:
         model = Resource
         attrs = {"class": "table table-layout-fixed"}
-        exclude = ('type_id','requirements','ticket_status', 'id_metaservice', 
-                   'is_global', 'is_visible')
+        exclude = (
+            'id_metaservice',
+            'resoure_type',
+            'requirements',
+            'is_global',
+            'is_visible',
+            'ticket_status'
+        )
 
     def render_check(self, value, record):
         if record.status == 'active':