11969 fix

This commit is contained in:
Arthur Hanson 2024-07-25 14:36:16 +07:00
parent 61fe046204
commit 660344b16b

View File

@ -395,7 +395,7 @@ class ModuleType(ImageAttachmentsMixin, PrimaryModel, WeightMixin):
blank=True blank=True
) )
clone_fields = ('manufacturer', 'weight', 'weight_unit',) clone_fields = ('manufacturer', 'weight', 'weight_unit', 'airflow')
prerequisite_models = ( prerequisite_models = (
'dcim.Manufacturer', 'dcim.Manufacturer',
) )
@ -1177,7 +1177,7 @@ class Module(PrimaryModel, ConfigContextModel):
help_text=_('A unique tag used to identify this device') help_text=_('A unique tag used to identify this device')
) )
clone_fields = ('device', 'module_type', 'status', 'airflow') clone_fields = ('device', 'module_type', 'status')
class Meta: class Meta:
ordering = ('module_bay',) ordering = ('module_bay',)