diff --git a/netbox_acls/models/access_list_rules.py b/netbox_acls/models/access_list_rules.py index c8a46c7..cdfa9f0 100644 --- a/netbox_acls/models/access_list_rules.py +++ b/netbox_acls/models/access_list_rules.py @@ -110,6 +110,11 @@ def get_absolute_url(self): def get_action_color(self): return ACLRuleActionChoices.colors.get(self.action) + def to_objectchange(self, action): + objectchange = super().to_objectchange(action) + objectchange.related_object = self.access_list + return objectchange + class ACLStandardRule(ACLRule): """