Commit ea42ab76 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 50f7a846
......@@ -139,4 +139,7 @@ class Domain(Predicate, MetaNode, MetaResource):
result.extend(self.portal_catalog(selection_domain = self))
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