diff --git a/controllers/main.py b/controllers/main.py
index 62e3d643c55238f00cd04a22b031014b54910e59..ad33b7d0cad1bb6cde06db770da82d27a320defc 100644
--- a/controllers/main.py
+++ b/controllers/main.py
@@ -40,6 +40,7 @@ class JournalDatasExport(http.Controller):
             ("journal_id", "in", export_id.journal_ids.ids),
             ("company_id", "=", export_id.company_id.id),
             ("move_id.state", "=", "posted"),
+            ("display_type", "=", False),
         ]
         if export_type == "empty":
             domain += [("date_export", "=", False)]
diff --git a/views/export_journal_type.xml b/views/export_journal_type.xml
index e4ccfae87f6c43941e6e856b6ac4b632e11651fe..cf8b7188c814b571d58acb644f11f710826b9250 100644
--- a/views/export_journal_type.xml
+++ b/views/export_journal_type.xml
@@ -51,7 +51,7 @@
                                 <field name="sequence" widget="handle" />
                                 <field name="name" required="1" />
                                 <field name="field_name" required="1" />
-                                <field name="is_python" widget="boolean_toggle"/>
+                                <field name="is_python" widget="boolean_toggle" />
                             </tree>
                         </field>
                     </sheet>