From c3ccba884a8366f0b502489d5746005297bfd4a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Laporte?= <stephane.laporte@enercoop.org>
Date: Thu, 5 Dec 2024 11:16:45 +0100
Subject: [PATCH] [CLN]

---
 controllers/main.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/controllers/main.py b/controllers/main.py
index 79a53b8..184ccce 100644
--- a/controllers/main.py
+++ b/controllers/main.py
@@ -20,7 +20,6 @@ class CustomerPortal(CustomerPortal):
         website=True,
     )
     def print_contract(self, contract_id, **kw):
-        print("print_contract")
         contract = request.env["acc.contract"].browse([contract_id])
         if not contract:
             return Response(
@@ -30,7 +29,6 @@ class CustomerPortal(CustomerPortal):
             response = Response()
             response.data = base64.b64decode(contract.document)
             response.mimetype = "application/pdf"
-            print(response.headers)
             fn = contract.name
             response.headers['Content-Disposition'] = 'inline; filename="' + fn + '"'
             return response
-- 
GitLab