From 2a9aff8eac155022bf2226e44de98390603932b4 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Thu, 15 May 2025 17:34:38 +0200
Subject: [PATCH] [UPD] adapt new Inovatic response LiasseProfil format

---
 models/scop_liasse_fiscale.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/models/scop_liasse_fiscale.py b/models/scop_liasse_fiscale.py
index b70732a..21db01f 100644
--- a/models/scop_liasse_fiscale.py
+++ b/models/scop_liasse_fiscale.py
@@ -70,7 +70,7 @@ class ScopLiasseFiscaleInovatic(models.Model):
             else:
                 liasse_values = json_data.get("DecimalCells")
             vals["format"] = "2033"
-        elif json_data.get("LiasseProfil") == "2050":
+        elif json_data.get("LiasseProfil") in ["2050", "2144"]:
             liasse_values = json_data.get("DecimalCells")
             vals["format"] = "2050"
         else:
-- 
GitLab