From 38801aeddffa6173fa43f2cf6fef0e2bf5bce204 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Fri, 18 Jan 2019 09:14:35 +0000 Subject: [PATCH] publish muk_web_theme - 12.0 --- muk_web_theme/__init__.py | 5 ++++- muk_web_theme/__manifest__.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/muk_web_theme/__init__.py b/muk_web_theme/__init__.py index 5ac025d..d1c1448 100644 --- a/muk_web_theme/__init__.py +++ b/muk_web_theme/__init__.py @@ -17,6 +17,8 @@ # ################################################################################### +from odoo import api, SUPERUSER_ID + from . import models #---------------------------------------------------------- @@ -28,4 +30,5 @@ XML_ID = "muk_web_theme._assets_primary_variables" SCSS_URL = "/muk_web_theme/static/src/scss/colors.scss" def _uninstall_reset_changes(cr, registry): - self.env['muk_utils.scss_editor'].reset_values(SCSS_URL, XML_ID) \ No newline at end of file + env = api.Environment(cr, SUPERUSER_ID, {}) + env['muk_utils.scss_editor'].reset_values(SCSS_URL, XML_ID) \ No newline at end of file diff --git a/muk_web_theme/__manifest__.py b/muk_web_theme/__manifest__.py index 044a13e..21eb138 100644 --- a/muk_web_theme/__manifest__.py +++ b/muk_web_theme/__manifest__.py @@ -19,7 +19,7 @@ { "name": "MuK Backend Theme", "summary": "Odoo Community Backend Theme", - "version": "12.0.1.2.5", + "version": "12.0.1.2.6", "category": "Themes/Backend", "license": "AGPL-3", "author": "MuK IT",