|
|
@ -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) |
|
|
|
env = api.Environment(cr, SUPERUSER_ID, {}) |
|
|
|
env['muk_utils.scss_editor'].reset_values(SCSS_URL, XML_ID) |