def RemoveRecurringTransaction(self, recurring):
        # Orphan any recurring children so that they are normal transactions.
        for child in recurring.GetChildren():
            child.RecurringParent = None
            if child.LinkedTransaction:
                child.LinkedTransaction.RecurringParent = None