diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py index 27fa8e87224eeada892e600975875b9c8228fa65..cb32d1092aa29af3dd6253c622fa42f21c34861d 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