Commit 0a9bb62e authored by Georgios Dagkakis's avatar Georgios Dagkakis

CatalogMethodTemplateItem: do not use catalog in export

parent 9d9f83c7
......@@ -2965,10 +2965,6 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
return modified_object_dict
def export(self, context, bta, **kw):
catalog = _getCatalogValue(self)
if catalog is None:
LOG('BusinessTemplate, export', 0, 'no SQL catalog was available')
return
ObjectTemplateItem.export(self, context, bta, catalog_method_template_item=1)
def install(self, context, trashbin, **kw):
......
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