feat: add option to sync to twenty

This commit is contained in:
2025-08-03 10:00:42 +02:00
parent 39a098af8e
commit 1ed3d27533
4 changed files with 96 additions and 0 deletions

View File

@@ -173,6 +173,8 @@ class RescueOrganization(models.Model):
parent_org = models.ForeignKey("RescueOrganization", on_delete=models.PROTECT, blank=True, null=True)
# allows to specify if a rescue organization has a specialization for dedicated species
specializations = models.ManyToManyField(Species, blank=True)
twenty_id = models.UUIDField(verbose_name=_("Twenty-ID"), null=True, blank=True,
help_text=_("ID der der Organisation in Twenty"))
class Meta:
unique_together = ('external_object_identifier', 'external_source_identifier',)