mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 04:02:52 -06:00
#15390 add trace signal if cable terminatiions changed
This commit is contained in:
parent
4739f27c14
commit
e8891f770c
@ -370,9 +370,7 @@ class CableTermination(ChangeLoggedModel):
|
|||||||
# figure out which cable terminations changed
|
# figure out which cable terminations changed
|
||||||
update_cable_termination = False
|
update_cable_termination = False
|
||||||
update_orig_cable_termination = False
|
update_orig_cable_termination = False
|
||||||
if created:
|
if not created:
|
||||||
update_cable_termination = True
|
|
||||||
else:
|
|
||||||
if self._orig_cable and self._orig_cable != self.cable:
|
if self._orig_cable and self._orig_cable != self.cable:
|
||||||
update_cable_termination = True
|
update_cable_termination = True
|
||||||
update_orig_cable_termination = True
|
update_orig_cable_termination = True
|
||||||
|
Loading…
Reference in New Issue
Block a user