From ebdd06febd40b4c5ac67bd92234640cb9167e69c Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 11 Jun 2013 09:26:15 +0200 Subject: [PATCH] explicitly specify update_catalog argument in business template installation. that should be part of commit 9b5c74fb8e ('force' argument in BusinessTemplate._install() should not mean clear catalog. we can and should use 'update_catalog' argument instead to clear catalog). --- product/ERP5Type/tests/ERP5TypeTestCase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index 4a39cea146..1227a894c7 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -936,6 +936,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): install_kw[listbox_line.object_id] = listbox_line.choice_item_list[0][1] bt.install(light_install=light_install, object_to_update=install_kw, + update_catalog=bt.isCatalogUpdatable(), update_translation=1) # Release locks transaction.commit() -- 2.30.9