Commit a058d6a7 authored by Jérome Perrin's avatar Jérome Perrin

ERP5: workaround Domain.getPrice that cannot lookup price

because Domain.getRelativeUrl (and Category.getRelativeUrl) cannot be
restrictedTraverse'd
parent d2b29af1
...@@ -139,4 +139,7 @@ class Domain(Predicate, MetaNode, MetaResource): ...@@ -139,4 +139,7 @@ class Domain(Predicate, MetaNode, MetaResource):
result.extend(self.portal_catalog(selection_domain = self)) result.extend(self.portal_catalog(selection_domain = self))
return result return result
def getPrice(self):
"""Workaround price lookup error on domains)"""
return 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