diff --git a/muk_web_branding/__init__.py b/muk_web_branding/__init__.py index 63c3fd4..0907d21 100644 --- a/muk_web_branding/__init__.py +++ b/muk_web_branding/__init__.py @@ -34,6 +34,7 @@ BOOTSTRAP_XML_ID = "muk_web_branding._assets_backend_helpers" BOOTSTRAP_SCSS_URL = "/muk_web_branding/static/src/scss/bootstrap_colors.scss" def _uninstall_rebrand_system(cr, registry): - self.env['muk_utils.scss_editor'].reset_values(PRIMARY_SCSS_URL, PRIMARY_XML_ID) - self.env['muk_utils.scss_editor'].reset_values(SECONDARY_SCSS_URL, SECONDARY_XML_ID) - self.env['muk_utils.scss_editor'].reset_values(BOOTSTRAP_SCSS_URL, BOOTSTRAP_XML_ID) \ No newline at end of file + env = api.Environment(cr, SUPERUSER_ID, {}) + env['muk_utils.scss_editor'].reset_values(PRIMARY_SCSS_URL, PRIMARY_XML_ID) + env['muk_utils.scss_editor'].reset_values(SECONDARY_SCSS_URL, SECONDARY_XML_ID) + env['muk_utils.scss_editor'].reset_values(BOOTSTRAP_SCSS_URL, BOOTSTRAP_XML_ID) \ No newline at end of file diff --git a/muk_web_branding/__manifest__.py b/muk_web_branding/__manifest__.py index 75069d1..c5685ed 100644 --- a/muk_web_branding/__manifest__.py +++ b/muk_web_branding/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Web Branding", "summary": """Branding Features""", - "version": "12.0.1.0.1", + "version": "12.0.1.0.2", "category": "Extra Tools", "license": "AGPL-3", "website": "http://www.mukit.at",