def delete(self):
        """Delete this document and any counterpart document"""

        with self.draft_context():
            draft = self.one(Q._uid == self._uid)
            if draft:
                super(PublisherFrame, draft).delete()

        with self.published_context():
            published = self.one(Q._uid == self._uid)
            if published:
                super(PublisherFrame, published).delete()
Delete this document and any counterpart document