diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-08-30 16:39:15 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-08-31 13:44:31 +0200 |
| commit | 4bb0ea03e5f985b5c7a45ad680cdf63edc3e50ae (patch) | |
| tree | fbdf11d1377ba1e689978458b6ea4267e9a81955 /addons/website_theme_install/models/ir_module_module.py | |
| parent | f7fbe8adffb1ee585c8171f6c86d38145c11848d (diff) | |
[FIX] website_theme_install: create theme attachments... with their key
Diffstat (limited to 'addons/website_theme_install/models/ir_module_module.py')
| -rw-r--r-- | addons/website_theme_install/models/ir_module_module.py | 1 |
1 files changed, 1 insertions, 0 deletions
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', |
