diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py
index 2c381a9ee8429a42d502e5b075543b84e4e093c9..00ac36988b4e25402004cb2303509266ebb10dcd 100644
--- a/report/scop_contribution_report.py
+++ b/report/scop_contribution_report.py
@@ -26,8 +26,8 @@ class ScopContributionReport(models.Model):
                         .sudo()
                         .search(
                             [
-                                ("partner_id", "=", self.partner_id.id),
-                                ("year", "=", self.year),
+                                ("partner_id", "=", contribution.partner_id.id),
+                                ("year", "=", contribution.year),
                             ]
                         )
                     )