Browse Source

publish muk_web_theme - 12.0

pull/35/head
MuK IT GmbH 6 years ago
parent
commit
a3b76366c2
  1. 2
      muk_web_theme/models/res_config_settings.py

2
muk_web_theme/models/res_config_settings.py

@ -111,7 +111,7 @@ class ResConfigSettings(models.TransientModel):
}) })
view_to_xpath = self.env["ir.ui.view"].get_related_views( view_to_xpath = self.env["ir.ui.view"].get_related_views(
XML_ID, bundles=True XML_ID, bundles=True
).filtered(lambda v: v.arch.find(url) >= 0)
).filtered(lambda v: v.arch.find(SCSS_URL) >= 0)
self.env["ir.ui.view"].create({ self.env["ir.ui.view"].create({
'name': custom_url, 'name': custom_url,
'key': 'web_editor.scss_%s' % str(uuid.uuid4())[:6], 'key': 'web_editor.scss_%s' % str(uuid.uuid4())[:6],

Loading…
Cancel
Save