There was a 'not' too much. Thanks Hanno.

parent 21dc5580
......@@ -241,7 +241,7 @@ class Owned(ExtensionClass.Base):
else: _owner=None
if (_owner is None and
((not getattr(self, '__parent__', None) is None) or
((getattr(self, '__parent__', None) is None) or
(not hasattr(self, 'getPhysicalRoot'))
)
):
......
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