implemented root_key propery for rest of entities

This commit is contained in:
iLLiCiTiT 2021-06-25 14:52:16 +02:00
parent ac36919e26
commit 81bebe03c6

View file

@ -871,6 +871,10 @@ class ItemEntity(BaseItemEntity):
"""Call save on root item."""
self.root_item.save()
@property
def root_key(self):
return self.root_item.root_key
def schema_validations(self):
if not self.label and self.use_label_wrap:
reason = (