Skip to content
Extraits de code Groupes Projets
Valider dbcc6844 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[fix] domain error on report

parent 2fc0988c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -88,10 +88,10 @@ class ScopContributionReport(models.Model): ...@@ -88,10 +88,10 @@ class ScopContributionReport(models.Model):
dans la vue pour les cotisations CG dans la vue pour les cotisations CG
""" "" """ ""
domain = super()._get_contribution_domain() domain = super()._get_contribution_domain()
domain.append( add_domain = [
"|", "|",
("bordereau_id.state", "not in", ("cancel", "new")), ("bordereau_id.state", "not in", ("cancel", "new")),
("bordereau_id", "=", False), ("bordereau_id", "=", False),
) ]
print(domain) domain += add_domain
return domain return domain
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter