From 2ac1f9f6e99b165d97ba5cd2a3bd36c534fc09e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 13 Feb 2023 09:45:40 +0900 Subject: [PATCH] scalability_test/ERP5Site_setIdGenerator: enable more module and use HBTrees --- .../erp5_scalability_test/ERP5Site_setIdGenerator.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_setIdGenerator.py b/bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_setIdGenerator.py index b911176e38..5ef722bc1a 100644 --- a/bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_setIdGenerator.py +++ b/bt5/erp5_scalability_test/SkinTemplateItem/portal_skins/erp5_scalability_test/ERP5Site_setIdGenerator.py @@ -1,4 +1,10 @@ portal = context.getPortalObject() +portal.sale_order_module.migrateToHBTree() portal.sale_order_module.setIdGenerator('_generatePerNodeId') +portal.sale_packing_list_module.migrateToHBTree() +portal.sale_packing_list_module.setIdGenerator('_generatePerNodeId') +portal.portal_simulation.migrateToHBTree() +portal.portal_simulation.setIdGenerator('_generatePerNodeId') +portal.person_module.migrateToHBTree() portal.person_module.setIdGenerator('_generatePerNodeId') -- 2.30.9