Commit 31f9ff56 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 ae7a8e05
......@@ -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