From 12243918ad90a3ec5bbc49b8f3e6b78b13d235fb Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Tue, 16 May 2023 11:07:05 +0200
Subject: [PATCH] [update] remove web_progress dependency

---
 __manifest__.py              | 1 -
 models/scop_cotisation_cg.py | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/__manifest__.py b/__manifest__.py
index 660bce8..26c7db0 100644
--- a/__manifest__.py
+++ b/__manifest__.py
@@ -14,7 +14,6 @@
         "lefilament_export_journal_tool",
         "cgscop_cotisation",
         "queue_job_batch",
-        "web_progress",
     ],
     "data": [
         # Security
diff --git a/models/scop_cotisation_cg.py b/models/scop_cotisation_cg.py
index 163b240..e1c16c0 100644
--- a/models/scop_cotisation_cg.py
+++ b/models/scop_cotisation_cg.py
@@ -565,7 +565,7 @@ class ScopCotisation(models.Model):
         total_cg = total_hdf = total_com = total_med = total_cae = total_indus = 0
         count_member = 0
 
-        for m in self.web_progress_iter(members, msg="cotisations calculées"):
+        for m in members:
             liasse = self.get_liasse(m)
             line_ids = AccountMoveLine.search(
                 [
-- 
GitLab