#15390 add trace signal if cable terminatiions changed

This commit is contained in:
Arthur 2025-05-29 15:14:31 -07:00
parent e8891f770c
commit 5fb81e9943

View File

@ -368,9 +368,10 @@ class CableTermination(ChangeLoggedModel):
termination.save() termination.save()
# figure out which cable terminations changed # figure out which cable terminations changed
if not created:
update_cable_termination = False update_cable_termination = False
update_orig_cable_termination = False update_orig_cable_termination = False
if not created:
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