Add original status
This commit is contained in:
parent
6385339b7b
commit
507708574c
|
@ -337,6 +337,7 @@ class AssetRuleForm(RestrictedFormMixin, ModelForm):
|
|||
def __init__(self, *args, **kwargs):
|
||||
super(AssetRuleForm, self).__init__(*args, **kwargs)
|
||||
self.fields["value"].disabled = True
|
||||
self.fields["original_status"].disabled = True
|
||||
self.fields["aggregation"].disabled = True
|
||||
|
||||
class Meta:
|
||||
|
@ -345,6 +346,7 @@ class AssetRuleForm(RestrictedFormMixin, ModelForm):
|
|||
"asset",
|
||||
"aggregation",
|
||||
"value",
|
||||
"original_status",
|
||||
"status",
|
||||
"trigger_below",
|
||||
"trigger_above",
|
||||
|
|
Loading…
Reference in New Issue