Commit 411bdd9b authored by Aurel's avatar Aurel

don't take old properties of catalog method into account but still

get them for backward compatibility


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4833 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8aef6fa4
......@@ -1378,8 +1378,9 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
else:
LOG('BusinessTemplate import CatalogMethod, type unknown', 0, key_type)
continue
dict = getattr(self, key)
dict[id] = value
if key in catalog_method_list or key in catalog_method_filter_list:
dict = getattr(self, key)
dict[id] = value
class ActionTemplateItem(ObjectTemplateItem):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment