From b29d164c0a2482cb4453739fb3f3d29acc0acac1 Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Thu, 11 Jun 2020 14:02:03 +0900
Subject: [PATCH] ZODB Components: More modules to ignore from migration.

---
 product/ERP5/Document/BusinessTemplate.py | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 8549ce97c7..fbaf3f4235 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -6468,6 +6468,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
 
     _migrate_exception_set = set([
       ## Bootstrap
+      'Products.ERP5.Tool.TrashTool',
       'Products.ERP5.Document.BusinessTemplate',
       'Products.ERP5.ERP5Site',
       'Products.ERP5.genbt5list',
@@ -6492,7 +6493,12 @@ Business Template is a set of definitions, such as skins, portal types and categ
       'Products.ERP5Type.Tool.ComponentTool',
       'Products.ERP5Type.Tool.PropertySheetTool',
       'Products.ERP5Type.tests.testDynamicClassGeneration',
-      ## Used by SolverTool (TypeProvider)
+      # Upgrader
+      'Products.ERP5.Tool.AlarmTool',
+      'Products.ERP5.mixin.periodicity',
+      'Products.ERP5.Document.Alarm',
+      ## TypeProvider
+      'Products.ERP5.Tool.SolverTool',
       'Products.ERP5.interfaces.delivery_solver_factory',
       ## Unit Tests
       'Products.ERP5Type.tests.custom_zodb',
@@ -6504,13 +6510,18 @@ Business Template is a set of definitions, such as skins, portal types and categ
       'Products.ERP5Type.tests.runUnitTest',
       'Products.ERP5Type.tests.SecurityTestCase',
       'Products.ERP5Type.tests.Sequence',
-      # No need to migrate
+      ## No need to migrate
       'Products.PloneHotfix20121106.allow_module',
       'Products.PloneHotfix20121106.atat',
       'Products.PloneHotfix20121106.ftp',
       'Products.PloneHotfix20121106.get_request_var_or_attr',
       'Products.PloneHotfix20121106.safe_html',
       'Products.PloneHotfix20121106.setHeader',
+      'Products.MailTemplates.tests.example1',
+      'Products.MailTemplates.tests.example3',
+      'Products.MailTemplates.tests.example4',
+      # Backward compatibility
+      'Products.ERP5.Tool.Category',
     ])
 
     security.declareProtected(Permissions.ManagePortal,
-- 
2.30.9