From cfbee9c0fa0de6805d7dd374853bdfe0985fffc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 21 Apr 2026 10:06:09 +0200 Subject: [PATCH] Activate modules that are not activated in demo 0af71ac1106b wrongly tested the module to activate --- demo/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/__main__.py b/demo/__main__.py index 42b81b1c65..6cb6ee30a5 100755 --- a/demo/__main__.py +++ b/demo/__main__.py @@ -26,7 +26,7 @@ def activate_modules(config, modules): for module in modules: if module.state == 'activated': module.click('upgrade') - elif module.state != 'not activated': + elif module.state == 'not activated': module.click('activate') modules = [x.name for x in Module.find([('state', '=', 'to activate')])] Wizard('ir.module.activate_upgrade').execute('upgrade')