diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py index 0601eb5295bb7620885d618cc04b39752c91e75c..b1471ab8f7aec755bbfe24e1a60987ab4f665c1d 100644 --- a/report/scop_contribution_report.py +++ b/report/scop_contribution_report.py @@ -208,7 +208,7 @@ class ScopContributionReport(models.Model): "credit": p.credit, "class": "", } - if not p.invoice_id + if not p.move_id.move_type in ("out_invoice", "out_refund") else { "date": p.date, "name": p.name,