From 726ce1e1d1f5669da0b1dbd392e446a4907fe79f Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Wed, 22 Mar 2023 15:40:35 +0100
Subject: [PATCH] [fix] error print_contribution function

---
 report/scop_contribution_report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/report/scop_contribution_report.py b/report/scop_contribution_report.py
index ec3c52e..2c381a9 100644
--- a/report/scop_contribution_report.py
+++ b/report/scop_contribution_report.py
@@ -67,7 +67,7 @@ class ScopContributionReport(models.Model):
 
     def print_contribution(self):
         self.ensure_one()
-        if self.has_bordereau():
+        if self.has_bordereau:
             bordereau = (
                 self.env["scop.bordereau"]
                 .sudo()
-- 
GitLab