Commit 1ee22ffa authored by Jérome Perrin's avatar Jérome Perrin

Repair ExternalEditor on class tool after changes in Folder.__contains__

parent 818785a2
......@@ -267,6 +267,9 @@ if allowClassTool():
def objectIds(self, spec=None):
return ('PropertySheet', 'Document', 'Constraint', 'Extensions', 'tests')
def __contains__(self, key):
return key in self.objectIds()
def _getOb(self, key, default=_MARKER):
from Products.ERP5Type.Utils import importLocalPropertySheet
from Products.ERP5Type.Utils import importLocalDocument
......
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