Commit 1de013d6 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Monkey-patching of getPath to use getPath from Base

parent e48ac9dc
......@@ -939,6 +939,8 @@ class ZCatalog(Folder, Persistent, Implicit):
return record.path
else:
return None
# Use getPath from Base class while calling getPath on ZSQLCatalog
getPath = Folder.getPath
security.declarePrivate('hasPath')
def hasPath(self, path, sql_catalog_id=None):
......
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