'res' should be global in load_modules
issue4045
This commit is contained in:
1 parent
cc39b82917
commit
ab820aecf5
1 file changed
+1
@@ -366,6 +366,7 @@ def load_modules(database_name, pool, update=False, lang=None):
|
||||
res = True
|
||||
|
||||
def _load_modules():
|
||||
global res
|
||||
cursor = Transaction().cursor
|
||||
if update:
|
||||
# Migration from 2.2: workflow module removed
|
||||
|
||||
Reference in new issue
Block a user