From 4bb0ea03e5f985b5c7a45ad680cdf63edc3e50ae Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 30 Aug 2018 16:39:15 +0200 Subject: [PATCH] [FIX] website_theme_install: create theme attachments... with their key --- addons/website_theme_install/models/ir_module_module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website_theme_install/models/ir_module_module.py b/addons/website_theme_install/models/ir_module_module.py index f9ccc7b4bc7..0efa044a5c0 100644 --- a/addons/website_theme_install/models/ir_module_module.py +++ b/addons/website_theme_install/models/ir_module_module.py @@ -48,6 +48,7 @@ class IrModuleModule(models.Model): for attach in self._get_module_data('theme.ir.attachment'): already_create = loaded['attachments'].filtered(lambda x: x.key == attach.key) new_attach = { + 'key': attach.key, 'public': True, 'res_model': 'ir.ui.view', 'type': 'url',