From 82d2bf1413636e8f4eea66382f17c4f4a3226d85 Mon Sep 17 00:00:00 2001 From: Ayush Tiwari <ayush.tiwari@nexedi.com> Date: Tue, 3 Oct 2017 10:47:37 +0200 Subject: [PATCH] BusinessTemplate: Refactor mistake for modified_object_list assignment --- product/ERP5/Document/BusinessTemplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 7313e59b75..bbd1fa838b 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -2753,11 +2753,11 @@ class PortalTypeAllowedContentTypeTemplateItem(BaseTemplateItem): if new_object != old_object: modified_object_list[path] = 'Modified', self.getTemplateTypeName() else: # new object - modified_object_list.update[path] = 'New', self.getTemplateTypeName() + modified_object_list[path] = 'New', self.getTemplateTypeName() # get removed object for path in installed_item._objects: if path not in self._objects: - modified_object_list.update[path] = 'Removed', self.getTemplateTypeName() + modified_object_list[path] = 'Removed', self.getTemplateTypeName() return modified_object_list def _importFile(self, file_name, file): -- 2.30.9