summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2020-05-27 16:18:23 +0000
committerDenis Ledoux <dle@odoo.com>2020-05-27 19:59:30 +0000
commit7b8d12e6dc47f1d519f9fc077b073e4ea6a24d71 (patch)
tree24b42391a52f4c25303444f76afe0f74fd133c01
parentaca52baee3009ba3d35e9ef1f2128808527e439b (diff)
"[REVERT] website_theme_install: do not mark theme views as `arch_updated` when loaded from data files"
This reverts commit fdd4a143f2148ec5f4aeea80fecd3138fea95dc6. See discussion in #51969 closes odoo/odoo#52028 X-original-commit: 0e602cc0ac295621864b50509f78bd5de1e61718 Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
-rw-r--r--addons/website/models/ir_module_module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/models/ir_module_module.py b/addons/website/models/ir_module_module.py
index e6a4a8e9cc5..8307022dd4d 100644
--- a/addons/website/models/ir_module_module.py
+++ b/addons/website/models/ir_module_module.py
@@ -164,7 +164,7 @@ class IrModuleModule(models.Model):
rec_data.pop('active')
if model_name == 'ir.ui.view' and (find.arch_updated or find.arch == rec_data['arch']):
rec_data.pop('arch')
- find.with_context(install_filename='').update(rec_data)
+ find.update(rec_data)
self._post_copy(rec, find)
else:
new_rec = self.env[model_name].create(rec_data)