From dbcc6844c3dfb0375c653aaa4577d1147d30a499 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Tue, 5 Apr 2022 11:00:04 +0200
Subject: [PATCH] [fix] domain error on report

---
 report/scop_contribution_report.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py
index 27fa8e8..cb32d10 100644
--- a/report/scop_contribution_report.py
+++ b/report/scop_contribution_report.py
@@ -88,10 +88,10 @@ class ScopContributionReport(models.Model):
         dans la vue pour les cotisations CG
         """ ""
         domain = super()._get_contribution_domain()
-        domain.append(
+        add_domain = [
             "|",
             ("bordereau_id.state", "not in", ("cancel", "new")),
             ("bordereau_id", "=", False),
-        )
-        print(domain)
+        ]
+        domain += add_domain
         return domain
-- 
GitLab