Skip to main content

Mail recipients

Recipient Triggers Template Code
doc_group_parent_directors sub_replaced_doc_director_approval_requested
    def gather_doc_group_parent_directors(self, **kwargs):
        addrs = []
        doc = kwargs.get('doc')
        if doc and doc.group and doc.group.parent:
            addrs.extend(
                Recipient.objects.get(
                    slug='group_responsible_directors').gather(group=doc.group.parent)
            )
        return addrs