Add an always_cc field on contacts which is exported as extra column
This commit is contained in:
parent
8d8454ba56
commit
1b6ce3acfe
4 changed files with 139 additions and 6 deletions
|
|
@ -134,6 +134,7 @@ class Corporation(models.Model):
|
|||
class CorpContact(models.Model):
|
||||
corporation = models.ForeignKey(Corporation, verbose_name='Institution')
|
||||
is_main = models.BooleanField(default=False, verbose_name='Contact principal')
|
||||
always_cc = models.BooleanField(default=False, verbose_name='Toujours en copie')
|
||||
title = models.CharField(max_length=40, blank=True, verbose_name='Civilité')
|
||||
first_name = models.CharField(max_length=40, blank=True, verbose_name='Prénom')
|
||||
last_name = models.CharField(max_length=40, verbose_name='Nom')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue