From a5cf015ef84f18088ab98655044f696a3faac61d Mon Sep 17 00:00:00 2001 From: Nicolas Praz Date: Thu, 15 Aug 2024 14:35:26 +0200 Subject: [PATCH] removed useless comment --- sponsorship_compassion/models/contracts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponsorship_compassion/models/contracts.py b/sponsorship_compassion/models/contracts.py index ce0fe57e0..dbfc8cc07 100644 --- a/sponsorship_compassion/models/contracts.py +++ b/sponsorship_compassion/models/contracts.py @@ -992,7 +992,7 @@ def _on_sponsorship_finished(self): Terminate related gift contracts and sync with GMC. """ departure = self.env.ref("sponsorship_compassion.end_reason_depart") - for sponsorship in self: # self was not the instance of the sponsorship, wanted ???? + for sponsorship in self: gift_contract_lines = self.env["recurring.contract.line"].search( [("sponsorship_id", "=", sponsorship.id)] )