Commit 46080caf authored by Jérome Perrin's avatar Jérome Perrin Committed by Gabriel Monnerat

ERP5: workaround Domain.getPrice that cannot lookup price

because Domain.getRelativeUrl (and Category.getRelativeUrl) cannot be
restrictedTraverse'd
parent be46411f
...@@ -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