Commit ba0d6ec8 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 51c864fb
...@@ -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