diff --git a/muk_session_store/__init__.py b/muk_session_store/__init__.py index 34718ce..ec3349a 100644 --- a/muk_session_store/__init__.py +++ b/muk_session_store/__init__.py @@ -17,5 +17,8 @@ # ################################################################################### +from odoo.tools import config + def _patch_system(): - from . import patch \ No newline at end of file + if 'muk_session_store' in config.get('server_wide_modules'): + from . import patch \ No newline at end of file diff --git a/muk_session_store/__manifest__.py b/muk_session_store/__manifest__.py index 3faa16e..42edd4f 100644 --- a/muk_session_store/__manifest__.py +++ b/muk_session_store/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Session Store", "summary": """Session Store Options""", - "version": "12.0.1.0.3", + "version": "12.0.1.0.4", "category": "Extra Tools", "license": "AGPL-3", "website": "http://www.mukit.at",