瀏覽代碼

16357 clone tenant and type for cable

Arthur Hanson 1 年之前
父節點
當前提交
013139aa20
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      netbox/dcim/models/cables.py

+ 2 - 0
netbox/dcim/models/cables.py

@@ -88,6 +88,8 @@ class Cable(PrimaryModel):
         null=True
     )
 
+    clone_fields = ('tenant', 'type',)
+
     class Meta:
         ordering = ('pk',)
         verbose_name = _('cable')