Skip to content
Snippets Groups Projects
Commit 22853aa5 authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[fix] error payment view

parent 9ed832f3
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment