diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml
index ebb8491577abb3299f2210f65cc0daff8b9fb65c..41aa320014c7c4989e341ea9fa356dd3067ca552 100755
--- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml
+++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getGeneralLedgerReportSectionList.xml
@@ -231,17 +231,20 @@ for c in gap_value_list :\n
                 preferences = preferences ))\n
       \n
       else :\n
-        result.append(ReportSection(\n
-          path = account.getPhysicalPath(),\n
-          title = "%s: %s" % (c.getId(), account.getTitle()),\n
-          level = 9,\n
-          form_id = \'Account_viewAccountingTransactionList\',\n
-          selection_name = \'acount_preference_selection\',\n
-          selection_params = params,\n
-          selection_columns = account_columns,\n
-          listbox_display_mode = \'FlatListMode\',\n
-          selection_sort_order = [(\'delivery.stop_date\', \'ascending\')],\n
-          preferences = preferences ))\n
+        if len(portal.portal_simulation.getInventoryList(\n
+                    node_uid = account.getUid(),\n
+                    **account_inventory_list_cache_params )):\n
+          result.append(ReportSection(\n
+            path = account.getPhysicalPath(),\n
+            title = "%s: %s" % (c.getId(), account.getTitle()),\n
+            level = 9,\n
+            form_id = \'Account_viewAccountingTransactionList\',\n
+            selection_name = \'acount_preference_selection\',\n
+            selection_params = params,\n
+            selection_columns = account_columns,\n
+            listbox_display_mode = \'FlatListMode\',\n
+            selection_sort_order = [(\'delivery.stop_date\', \'ascending\')],\n
+            preferences = preferences ))\n
 \n
 return result\n
 # vim: syntax=python\n