From 8d08ce5fa1c6a889fa2274db36a2feacc7529a49 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Mon, 15 Dec 2008 10:05:57 +0000
Subject: [PATCH] Populate base_category_id_list, in order to allow category
 deletion if specified

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24893 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_core/CategoryTool_importCategoryFile.xml  | 1 +
 product/ERP5/bootstrap/erp5_core/bt/revision                    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_importCategoryFile.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_importCategoryFile.xml
index 26b915b095..49287781d7 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_importCategoryFile.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/CategoryTool_importCategoryFile.xml
@@ -99,6 +99,7 @@ categories_spreadsheet_mapping = context.Base_getCategoriesSpreadSheetMapping(im
 \n
 for base_category, categories in \\\n
             categories_spreadsheet_mapping.items():\n
+  base_category_id_list.append(base_category)\n
   # Create categories\n
   total_category_counter += len(categories)\n
   for category in categories:\n
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 0f746c73b1..487d273dda 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-1038
\ No newline at end of file
+1040
\ No newline at end of file
-- 
2.30.9