diff --git a/trytond/ir/module/module.py b/trytond/ir/module/module.py index 76dca70cbb..8153bde1db 100644 --- a/trytond/ir/module/module.py +++ b/trytond/ir/module/module.py @@ -483,6 +483,12 @@ class ModuleInstallUpgrade(Wizard): ]) config = StateAction('ir.act_module_config_wizard') + @classmethod + def check_access(cls): + # Use new cursor to prevent lock when installing modules + with Transaction().new_cursor(): + super(ModuleInstallUpgrade, cls).check_access() + @staticmethod def default_start(fields): pool = Pool()