From 7ec343831bc67999e0d1f7ee696235f9a341bd82 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Thu, 11 Aug 2022 13:06:23 +0200
Subject: [PATCH] [update] export CG due to suspense account

---
 controllers/main.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/controllers/main.py b/controllers/main.py
index dd0aed4..659c6f6 100644
--- a/controllers/main.py
+++ b/controllers/main.py
@@ -64,6 +64,7 @@ class ExportJournalCg(http.Controller):
             ("partner_id", "!=", False),
             ("company_id", "=", company_id.id),
             ("parent_state", "=", "posted"),
+            ("date_maturity", "!=", False),
         ]
         if date_start and date_end:
             domain += [
-- 
GitLab