From c338254f490afef639a1c88bef8e7546616dd1c2 Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Tue, 22 Sep 2020 18:06:26 +0200
Subject: [PATCH] WIP: change erp5 bootstrap conf

---
 product/ERP5/ERP5Site.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py
index 3c6d8f09bf..a00e19bf6d 100644
--- a/product/ERP5/ERP5Site.py
+++ b/product/ERP5/ERP5Site.py
@@ -2232,7 +2232,7 @@ class ERP5Generator(PortalGenerator):
     #   layer when installing new business templates.
     ps['custom'].manage_addProperty("business_template_skin_layer_priority", 100.0, "float")
     skin_folders = ', '.join(('custom', 'external_method'))
-    ps.addSkinSelection( 'View'
+    ps.addSkinSelection( 'ViewJS'
                        , skin_folders
                        , make_default = 1
                        )
@@ -2402,8 +2402,8 @@ class ERP5Generator(PortalGenerator):
     """
     template_tool = p.portal_templates
     if template_tool.getInstalledBusinessTemplate('erp5_core') is None:
-      for bt in ('erp5_property_sheets', 'erp5_core', p.erp5_catalog_storage, 'erp5_jquery',
-                 'erp5_xhtml_style'):
+      for bt in ('erp5_property_sheets', 'erp5_core', p.erp5_catalog_storage,
+                 'erp5_renderjs_style'):
         if not bt:
           continue
         url = getBootstrapBusinessTemplateUrl(bt)
-- 
2.30.9