Add CorpContact.avs field
This commit is contained in:
parent
95a30d6731
commit
94ec402da0
3 changed files with 19 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ class CorpContactAdmin(admin.ModelAdmin):
|
|||
('birth_date',),
|
||||
('corporation',),
|
||||
('sections', 'is_main', 'always_cc', 'archived'),
|
||||
('role', 'ext_id'), ('tel', 'email'),
|
||||
('role', 'ext_id'), ('tel', 'email'), ('avs',),
|
||||
('ccp', 'bank', 'clearing' ),
|
||||
('iban',),
|
||||
('qualification', 'fields_of_interest'),
|
||||
|
|
|
|||
17
stages/migrations/0030_add_contact_avs.py
Normal file
17
stages/migrations/0030_add_contact_avs.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0029_delete_exam_fields_on_student'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='corpcontact',
|
||||
name='avs',
|
||||
field=models.CharField(blank=True, max_length=20, verbose_name='No AVS'),
|
||||
),
|
||||
]
|
||||
|
|
@ -491,6 +491,7 @@ class CorpContact(models.Model):
|
|||
archived = models.BooleanField(default=False, verbose_name='Archivé')
|
||||
sections = models.ManyToManyField(Section, blank=True)
|
||||
|
||||
avs = models.CharField('No AVS', max_length=20, blank=True)
|
||||
ccp = models.CharField('Compte de chèque postal', max_length=15, blank=True)
|
||||
bank = models.CharField('Banque (nom et ville)', max_length=200, blank=True)
|
||||
clearing = models.CharField('No clearing', max_length=5, blank=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue